mkCoqDerivation: fix useDune2
This commit is contained in:
parent
c58707d2b3
commit
489959099f
|
@ -57,7 +57,7 @@ let
|
||||||
append-version = p: n: p + display-pkg n "" coqPackages.${n}.version + "-";
|
append-version = p: n: p + display-pkg n "" coqPackages.${n}.version + "-";
|
||||||
prefix-name = foldl append-version "" namePrefix;
|
prefix-name = foldl append-version "" namePrefix;
|
||||||
var-coqlib-install = (optionalString (versions.isGe "8.7" coq.coq-version) "COQMF_") + "COQLIB";
|
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
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation (removeAttrs ({
|
stdenv.mkDerivation (removeAttrs ({
|
||||||
|
|
Loading…
Reference in a new issue