camlp5: propagate findlib deps pcre2 and fmt

camlp5's META requires pcre2 and fmt, but they were only buildInputs, so
findlib consumers of camlp5 could not resolve them. Move them to
propagatedBuildInputs.
This commit is contained in:
Matthias J. Kannwischer
2026-05-30 18:03:36 +08:00
parent 005f5a6700
commit 74a82ccd8e

View File

@@ -8,6 +8,7 @@
makeWrapper,
rresult,
bos,
fmt,
pcre2,
re,
camlp-streams,
@@ -52,12 +53,15 @@ stdenv.mkDerivation (
buildInputs = lib.optionals recent [
bos
pcre2
re
rresult
];
propagatedBuildInputs = lib.optional recent camlp-streams;
propagatedBuildInputs = lib.optionals recent [
camlp-streams
pcre2
fmt
];
strictDeps = true;