ocamlPackages.findlib: fix build with bytecode mode
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user