about 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)
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 bece082f6418f..949737d28ee07 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 ];