forked from mirrors/nixpkgs
mkCoqDerivation: findlib is an optional input
This commit is contained in:
parent
0cad0fd119
commit
db0dc68975
|
@ -84,9 +84,9 @@ stdenv.mkDerivation (removeAttrs ({
|
|||
inherit (fetched) version src;
|
||||
|
||||
nativeBuildInputs = args.overrideNativeBuildInputs
|
||||
or ([ which coq.ocamlPackages.findlib ]
|
||||
or ([ which ]
|
||||
++ optional useDune coq.ocamlPackages.dune_3
|
||||
++ optional (useDune || mlPlugin) coq.ocamlPackages.ocaml
|
||||
++ optionals (useDune || mlPlugin) [ coq.ocamlPackages.ocaml coq.ocamlPackages.findlib ]
|
||||
++ (args.nativeBuildInputs or []) ++ extraNativeBuildInputs);
|
||||
buildInputs = args.overrideBuildInputs
|
||||
or ([ coq ] ++ (args.buildInputs or []) ++ extraBuildInputs);
|
||||
|
|
Loading…
Reference in a new issue