summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThéo Zimmermann <theo.zimmermann@inria.fr>2021-09-06 16:56:12 +0200
committerVincent Laporte <vbgl@users.noreply.github.com>2021-09-08 15:15:28 +0200
commit7136060765c03921e438c2a4032cb25f40607a11 (patch)
treece24cb23fde1159816f987b88d03f0ccc630acdb
parent087513bc11ed548a98587a7ac6b69472e3323231 (diff)
mkCoqDerivation: use COQMF_COQLIB for dev versions of Coq
-rw-r--r--pkgs/build-support/coq/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/build-support/coq/default.nix b/pkgs/build-support/coq/default.nix
index 5f2b5e646b0b..05f6e7762a07 100644
--- a/pkgs/build-support/coq/default.nix
+++ b/pkgs/build-support/coq/default.nix
@@ -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