mkCoqDerivation: use COQMF_COQLIB for dev versions of Coq

mullvad-ns
Théo Zimmermann 3 years ago committed by Vincent Laporte
parent 087513bc11
commit 7136060765
  1. 3
      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

Loading…
Cancel
Save