From cd13997b852aeb6adf04ef63d13db8aa2822e50a Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Fri, 21 Mar 2025 20:18:42 +0200 Subject: [PATCH] =?UTF-8?q?ocamlPackages.camlp5:=208.03.01=20=E2=86=92=208?= =?UTF-8?q?.03.02?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/tools/ocaml/camlp5/default.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/ocaml/camlp5/default.nix b/pkgs/development/tools/ocaml/camlp5/default.nix index c7a477e0cf23..b26d06a61ad1 100644 --- a/pkgs/development/tools/ocaml/camlp5/default.nix +++ b/pkgs/development/tools/ocaml/camlp5/default.nix @@ -8,6 +8,7 @@ makeWrapper, rresult, bos, + pcre2, re, camlp-streams, legacy ? false, @@ -21,13 +22,13 @@ let params = if lib.versionAtLeast ocaml.version "4.12" && !legacy then rec { - version = "8.03.01"; + version = "8.03.02"; src = fetchFromGitHub { owner = "camlp5"; repo = "camlp5"; rev = version; - hash = "sha256-GnNSCfnizazMT5kgib7u5PIb2kWsnqpL33RsPEK4JvM="; + hash = "sha256-nz+VfGR/6FdBvMzPPpVpviAXXBWNqM3Ora96Yzx964o="; }; nativeBuildInputs = [ @@ -38,10 +39,18 @@ let ]; buildInputs = [ bos + pcre2 re rresult ]; propagatedBuildInputs = [ camlp-streams ]; + postInstall = '' + for prog in camlp5 camlp5o camlp5r camlp5sch mkcamlp5 ocpp5 + do + wrapProgram $out/bin/$prog \ + --prefix CAML_LD_LIBRARY_PATH : "$CAML_LD_LIBRARY_PATH" + done + ''; } else