mkCoqDerivation: use COQMF_COQLIB for dev versions of Coq

This commit is contained in:
Théo Zimmermann 2021-09-06 16:56:12 +02:00 committed by Vincent Laporte
parent 087513bc11
commit 7136060765

View file

@ -57,7 +57,8 @@ let
] "") + optionalString (v == null) "-broken";
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";
var-coqlib-install =
(optionalString (versions.isGe "8.7" coq.coq-version || coq.coq-version == "dev") "COQMF_") + "COQLIB";
useDune2 = args.useDune2 or (useDune2ifVersion fetched.version);
in