Do not rely on legacy ocaml passthru value.

This commit is contained in:
Théo Zimmermann 2022-07-06 18:36:19 +02:00 committed by Vincent Laporte
parent 17bddec8f4
commit c6815758ac

View file

@ -86,7 +86,7 @@ stdenv.mkDerivation (removeAttrs ({
nativeBuildInputs = args.overrideNativeBuildInputs
or ([ which coq.ocamlPackages.findlib ]
++ optional useDune2 coq.ocamlPackages.dune_2
++ optional (useDune2 || mlPlugin) coq.ocaml
++ optional (useDune2 || mlPlugin) coq.ocamlPackages.ocaml
++ (args.nativeBuildInputs or []) ++ extraNativeBuildInputs);
buildInputs = args.overrideBuildInputs
or ([ coq ] ++ (args.buildInputs or []) ++ extraBuildInputs);