From 74a82ccd8e8535d32afb1c3f0db9c97cdc088322 Mon Sep 17 00:00:00 2001 From: "Matthias J. Kannwischer" Date: Sat, 30 May 2026 18:03:36 +0800 Subject: [PATCH] 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. --- pkgs/development/tools/ocaml/camlp5/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/ocaml/camlp5/default.nix b/pkgs/development/tools/ocaml/camlp5/default.nix index 4a8cd807a53f..e2931d73ddc3 100644 --- a/pkgs/development/tools/ocaml/camlp5/default.nix +++ b/pkgs/development/tools/ocaml/camlp5/default.nix @@ -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;