diff options
author | Théo Zimmermann <theo.zimmermann@inria.fr> | 2021-09-06 16:56:12 +0200 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2021-09-08 15:15:28 +0200 |
commit | 7136060765c03921e438c2a4032cb25f40607a11 (patch) | |
tree | ce24cb23fde1159816f987b88d03f0ccc630acdb /pkgs | |
parent | 087513bc11ed548a98587a7ac6b69472e3323231 (diff) |
mkCoqDerivation: use COQMF_COQLIB for dev versions of Coq
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/build-support/coq/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/build-support/coq/default.nix b/pkgs/build-support/coq/default.nix index 5f2b5e646b0bb..05f6e7762a077 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 |