Skip to content

Commit cd13997

Browse files
committed
ocamlPackages.camlp5: 8.03.01 → 8.03.02
1 parent 2940e77 commit cd13997

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

pkgs/development/tools/ocaml/camlp5/default.nix

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
makeWrapper,
99
rresult,
1010
bos,
11+
pcre2,
1112
re,
1213
camlp-streams,
1314
legacy ? false,
@@ -21,13 +22,13 @@ let
2122
params =
2223
if lib.versionAtLeast ocaml.version "4.12" && !legacy then
2324
rec {
24-
version = "8.03.01";
25+
version = "8.03.02";
2526

2627
src = fetchFromGitHub {
2728
owner = "camlp5";
2829
repo = "camlp5";
2930
rev = version;
30-
hash = "sha256-GnNSCfnizazMT5kgib7u5PIb2kWsnqpL33RsPEK4JvM=";
31+
hash = "sha256-nz+VfGR/6FdBvMzPPpVpviAXXBWNqM3Ora96Yzx964o=";
3132
};
3233

3334
nativeBuildInputs = [
@@ -38,10 +39,18 @@ let
3839
];
3940
buildInputs = [
4041
bos
42+
pcre2
4143
re
4244
rresult
4345
];
4446
propagatedBuildInputs = [ camlp-streams ];
47+
postInstall = ''
48+
for prog in camlp5 camlp5o camlp5r camlp5sch mkcamlp5 ocpp5
49+
do
50+
wrapProgram $out/bin/$prog \
51+
--prefix CAML_LD_LIBRARY_PATH : "$CAML_LD_LIBRARY_PATH"
52+
done
53+
'';
4554

4655
}
4756
else

0 commit comments

Comments
 (0)