From 9d4b711908a6f53669dc42a762c78c686c5390ed Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Wed, 23 Aug 2017 08:24:20 +0000 Subject: [PATCH] Revert "coq: default version is the one of coqPackages" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 5f04a61d4fe8fac31dfb4b1d58f599a1067017c6. That way, the Coq that is used to build other coq packages can be overridden. The top-level `coq` attribute is `coqPackages.coq` thus both “un-versioned” attributes are consistent. --- pkgs/top-level/all-packages.nix | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bbb8855678ab..945775cccdf6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -18071,13 +18071,19 @@ with pkgs; camlp5 = ocamlPackages_3_12_1.camlp5_transitional; lablgtk = ocamlPackages_3_12_1.lablgtk_2_14; }; + coq_8_4 = callPackage ../applications/science/logic/coq/8.4.nix { + inherit (ocamlPackages_4_02) ocaml findlib lablgtk; + camlp5 = ocamlPackages_4_02.camlp5_transitional; + }; + coq_8_5 = callPackage ../applications/science/logic/coq { + version = "8.5pl3"; + }; + coq_8_6 = callPackage ../applications/science/logic/coq {}; + coq_HEAD = callPackage ../applications/science/logic/coq/HEAD.nix {}; mkCoqPackages_8_4 = self: let callPackage = newScope self; in { inherit callPackage; - coq = callPackage ../applications/science/logic/coq/8.4.nix { - inherit (ocamlPackages_4_02) ocaml findlib lablgtk; - camlp5 = ocamlPackages_4_02.camlp5_transitional; - }; + coq = coq_8_4; coqPackages = coqPackages_8_4; contribs = @@ -18109,9 +18115,7 @@ with pkgs; mkCoqPackages_8_5 = self: let callPackage = newScope self; in rec { inherit callPackage; - coq = callPackage ../applications/science/logic/coq { - version = "8.5pl3"; - }; + coq = coq_8_5; coqPackages = coqPackages_8_5; autosubst = callPackage ../development/coq-modules/autosubst {}; @@ -18130,7 +18134,7 @@ with pkgs; mkCoqPackages_8_6 = self: let callPackage = newScope self; in rec { inherit callPackage; - coq = callPackage ../applications/science/logic/coq {}; + coq = coq_8_6; coqPackages = coqPackages_8_6; autosubst = callPackage ../development/coq-modules/autosubst {}; @@ -18153,11 +18157,6 @@ with pkgs; coqPackages_8_5 = mkCoqPackages_8_5 coqPackages_8_5; coqPackages_8_6 = mkCoqPackages_8_6 coqPackages_8_6; coqPackages = coqPackages_8_6; - - coq_8_4 = coqPackages_8_4.coq; - coq_8_5 = coqPackages_8_5.coq; - coq_8_6 = coqPackages_8_6.coq; - coq_HEAD = callPackage ../applications/science/logic/coq/HEAD.nix {}; coq = coqPackages.coq; coq2html = callPackage ../applications/science/logic/coq2html {