ocamlPackages.findlib: fix build with bytecode mode

This commit is contained in:
Weijia Wang
2025-04-26 19:59:34 +02:00
parent 8855e5cbdd
commit 11fcf32479
@@ -39,10 +39,13 @@ stdenv.mkDerivation rec {
"${placeholder "out"}/etc/findlib.conf"
];
buildFlags = [
"all"
"opt"
];
buildFlags =
[
"all"
]
++ lib.optionals ocaml.nativeCompilers [
"opt"
];
setupHook = writeText "setupHook.sh" ''
addOCamlPath () {