From 76a1f69525a4983ca0795cc5a0f7c35e826129f2 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 30 May 2023 17:05:44 +0200 Subject: [PATCH] ocamlPackages.uuidm: fix for OCaml 5.0 --- pkgs/development/ocaml-modules/uuidm/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/ocaml-modules/uuidm/default.nix b/pkgs/development/ocaml-modules/uuidm/default.nix index bece082f6418..949737d28ee0 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 ];