summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/uuidm
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2023-05-30 17:05:44 +0200
committerVincent Laporte <Vincent.Laporte@gmail.com>2023-05-30 17:05:44 +0200
commit76a1f69525a4983ca0795cc5a0f7c35e826129f2 (patch)
treea222c2b38408e642bcebbe185fe66f9b94c10c0e /pkgs/development/ocaml-modules/uuidm
parent93ebabefb2108e7cb849d8eac9ab938dd02b6a11 (diff)
downloadnixpkgs-76a1f69525a4983ca0795cc5a0f7c35e826129f2.tar
nixpkgs-76a1f69525a4983ca0795cc5a0f7c35e826129f2.tar.gz
nixpkgs-76a1f69525a4983ca0795cc5a0f7c35e826129f2.tar.bz2
nixpkgs-76a1f69525a4983ca0795cc5a0f7c35e826129f2.tar.lz
nixpkgs-76a1f69525a4983ca0795cc5a0f7c35e826129f2.tar.xz
nixpkgs-76a1f69525a4983ca0795cc5a0f7c35e826129f2.tar.zst
nixpkgs-76a1f69525a4983ca0795cc5a0f7c35e826129f2.zip
ocamlPackages.uuidm: fix for OCaml 5.0
Diffstat (limited to 'pkgs/development/ocaml-modules/uuidm')
-rw-r--r--pkgs/development/ocaml-modules/uuidm/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/uuidm/default.nix b/pkgs/development/ocaml-modules/uuidm/default.nix
index bece082f641..949737d28ee 100644
--- a/pkgs/development/ocaml-modules/uuidm/default.nix
+++ b/pkgs/development/ocaml-modules/uuidm/default.nix
@@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-/GZbkJVDQu1UY8SliK282kUWAVMfOnpQadUlRT/tJrM=";
   };
 
+  postPatch = ''
+    substituteInPlace pkg/META --replace "bytes" ""
+  '';
+
   strictDeps = true;
 
   nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ];