Loading pkgs/development/coq-modules/metacoq/default.nix +8 −2 Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ let # { case = "8.13"; out = "1.0-beta2-8.13"; } { case = "8.14"; out = "1.0-8.14"; } { case = "8.15"; out = "1.0-8.15"; } { case = "8.16"; out = "1.0-8.16"; } ] null; release = { "1.0-beta2-8.11".sha256 = "sha256-I9YNk5Di6Udvq5/xpLSNflfjRyRH8fMnRzbo3uhpXNs="; Loading @@ -19,6 +20,7 @@ let "1.0-beta2-8.13".sha256 = "sha256-IC56/lEDaAylUbMCfG/3cqOBZniEQk8jmI053DBO5l8="; "1.0-8.14".sha256 = "sha256-iRnaNeHt22JqxMNxOGPPycrO9EoCVjusR2s0GfON1y0="; "1.0-8.15".sha256 = "sha256-8RUC5dHNfLJtJh+IZG4nPTAVC8ZKVh2BHedkzjwLf/k="; "1.0-8.16".sha256 = "sha256-7rkCAN4PNnMgsgUiiLe2TnAliknN75s2SfjzyKCib/o="; }; releaseRev = v: "v${v}"; Loading @@ -37,7 +39,7 @@ let echo "all:" > all/Makefile echo "install:" >> all/Makefile '' ; derivation = mkCoqDerivation ({ derivation = (mkCoqDerivation ({ inherit version pname defaultVersion release releaseRev repo owner; mlPlugin = true; Loading Loading @@ -72,7 +74,11 @@ let maintainers = with maintainers; [ cohencyril ]; }; } // optionalAttrs (package != "single") { passthru = genAttrs packages metacoq_; }); { passthru = genAttrs packages metacoq_; }) ).overrideAttrs (o: { propagatedBuildInputs = o.propagatedBuildInputs ++ optional (versionAtLeast o.version "1.0-8.16") coq.ocamlPackages.stdlib-shims; }); in derivation; in metacoq_ (if single then "single" else "all") Loading
pkgs/development/coq-modules/metacoq/default.nix +8 −2 Original line number Diff line number Diff line Loading @@ -12,6 +12,7 @@ let # { case = "8.13"; out = "1.0-beta2-8.13"; } { case = "8.14"; out = "1.0-8.14"; } { case = "8.15"; out = "1.0-8.15"; } { case = "8.16"; out = "1.0-8.16"; } ] null; release = { "1.0-beta2-8.11".sha256 = "sha256-I9YNk5Di6Udvq5/xpLSNflfjRyRH8fMnRzbo3uhpXNs="; Loading @@ -19,6 +20,7 @@ let "1.0-beta2-8.13".sha256 = "sha256-IC56/lEDaAylUbMCfG/3cqOBZniEQk8jmI053DBO5l8="; "1.0-8.14".sha256 = "sha256-iRnaNeHt22JqxMNxOGPPycrO9EoCVjusR2s0GfON1y0="; "1.0-8.15".sha256 = "sha256-8RUC5dHNfLJtJh+IZG4nPTAVC8ZKVh2BHedkzjwLf/k="; "1.0-8.16".sha256 = "sha256-7rkCAN4PNnMgsgUiiLe2TnAliknN75s2SfjzyKCib/o="; }; releaseRev = v: "v${v}"; Loading @@ -37,7 +39,7 @@ let echo "all:" > all/Makefile echo "install:" >> all/Makefile '' ; derivation = mkCoqDerivation ({ derivation = (mkCoqDerivation ({ inherit version pname defaultVersion release releaseRev repo owner; mlPlugin = true; Loading Loading @@ -72,7 +74,11 @@ let maintainers = with maintainers; [ cohencyril ]; }; } // optionalAttrs (package != "single") { passthru = genAttrs packages metacoq_; }); { passthru = genAttrs packages metacoq_; }) ).overrideAttrs (o: { propagatedBuildInputs = o.propagatedBuildInputs ++ optional (versionAtLeast o.version "1.0-8.16") coq.ocamlPackages.stdlib-shims; }); in derivation; in metacoq_ (if single then "single" else "all")