3
0
Fork 0
forked from mirrors/nixpkgs

mkCoqDerivation: fix useDune2

This commit is contained in:
Théo Zimmermann 2021-06-09 15:14:17 +02:00 committed by Vincent Laporte
parent c58707d2b3
commit 489959099f

View file

@ -57,7 +57,7 @@ let
append-version = p: n: p + display-pkg n "" coqPackages.${n}.version + "-";
prefix-name = foldl append-version "" namePrefix;
var-coqlib-install = (optionalString (versions.isGe "8.7" coq.coq-version) "COQMF_") + "COQLIB";
useDune2 = args.useDune2 or useDune2ifVersion fetched.version;
useDune2 = args.useDune2 or (useDune2ifVersion fetched.version);
in
stdenv.mkDerivation (removeAttrs ({