Hide package sets for GHC 6.10.4, 6.12.3, 7.0.4, 7.4.1, and 7.6.1 from nix-env

(and from Hydra). It is still possible to install any of those packages by
referring to them by attribute:

 | $ nix-env -iA haskellPackages_ghc6104.hopenssl --dry-run
 | (dry run; not doing anything)
 | installing `haskell-hopenssl-ghc6.10.4-1.6.1'
 | these paths will be fetched (50.61 MiB download, 450.34 MiB unpacked):
 |   /nix/store/rjsgga1fdqin47n2rkfn9l7v9ncsfh9l-haskell-hopenssl-ghc6.10.4-1.6.1
 |   /nix/store/y567qhqbjxbkldg3kq2clzn52a56cmdn-haskell-mtl-ghc6.10.4-1.1.0.2
 |   /nix/store/zbn24z1443fbrx6ch1nn2vnss9bdw1g0-ghc-6.10.4

It's no longer possible to install those by name anymore, though:

 | $ nix-env -i haskell-hopenssl-ghc6.10.4
 | error: selector `haskell-hopenssl-ghc6.10.4' matches no derivations

That style works only for active GHC versions 7.4.2 and 7.6.2:

 | $ nix-env -qaP \* | grep  haskell-hopenssl
 | haskellPackages.hopenssl                          haskell-hopenssl-ghc7.4.2-1.6.1
 | haskellPackages_ghc742_no_profiling.hopenssl      haskell-hopenssl-ghc7.4.2-1.6.1
 | haskellPackages_ghc742_profiling.hopenssl         haskell-hopenssl-ghc7.4.2-1.6.1-profiling
 | haskellPackages_ghc762.hopenssl                   haskell-hopenssl-ghc7.6.2-1.6.1

These changes intend to ease the load on Hydra. If you desperately need
pre-build binaries of any of those old versions, please post a short note
on the nix-dev mailing list.
This commit is contained in:
Peter Simons 2013-01-30 17:47:45 +01:00
parent f929eecfa7
commit abdd5bc538

View File

@ -2387,25 +2387,25 @@ let
# Current Haskell Platform: 2012.4.0.0
haskellPlatform = haskellPackages.haskellPlatform;
haskellPackages_ghc6104 = recurseIntoAttrs (haskell.packages_ghc6104);
haskellPackages_ghc6104 = haskell.packages_ghc6104;
haskellPackages_ghc6121 = haskell.packages_ghc6121;
haskellPackages_ghc6122 = haskell.packages_ghc6122;
haskellPackages_ghc6123 = recurseIntoAttrs (haskell.packages_ghc6123);
haskellPackages_ghc6123 = haskell.packages_ghc6123;
haskellPackages_ghc701 = haskell.packages_ghc701;
haskellPackages_ghc702 = haskell.packages_ghc702;
haskellPackages_ghc703 = haskell.packages_ghc703;
haskellPackages_ghc704 = recurseIntoAttrs (haskell.packages_ghc704);
haskellPackages_ghc704 = haskell.packages_ghc704;
haskellPackages_ghc721 = haskell.packages_ghc721;
haskellPackages_ghc722 = haskell.packages_ghc722;
# For the default version, we build profiling versions of the libraries, too.
# The following three lines achieve that: the first two make Hydra build explicit
# profiling and non-profiling versions; the final respects the user-configured
# default setting.
haskellPackages_ghc741 = recurseIntoAttrs (haskell.packages_ghc741);
haskellPackages_ghc741 = haskell.packages_ghc741;
haskellPackages_ghc742_no_profiling = recurseIntoAttrs (haskell.packages_ghc741.noProfiling);
haskellPackages_ghc742_profiling = recurseIntoAttrs (haskell.packages_ghc741.profiling);
haskellPackages_ghc742 = recurseIntoAttrs (haskell.packages_ghc742.highPrio);
haskellPackages_ghc761 = recurseIntoAttrs (haskell.packages_ghc761);
haskellPackages_ghc761 = haskell.packages_ghc761;
haskellPackages_ghc762 = recurseIntoAttrs (haskell.packages_ghc762);
# Reasonably current HEAD snapshot.
haskellPackages_ghcHEAD = haskell.packages_ghcHEAD;