1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

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 ({