Disable recurseIntoAttrs for some GHC versions.
svn path=/nixpkgs/trunk/; revision=28421
This commit is contained in:
parent
f5cb16f7b2
commit
ec5a87c11d
@ -2054,25 +2054,25 @@ let
|
|||||||
# This should point to the current default version.
|
# This should point to the current default version.
|
||||||
haskellPackages = haskellPackages_ghc704;
|
haskellPackages = haskellPackages_ghc704;
|
||||||
|
|
||||||
# NOTE: After discussion, we decided to enable recurseIntoAttrs for all
|
# NOTE (recurseIntoAttrs): After discussion, we originally decided to
|
||||||
# currently available ghc versions. (Before, it used to be enabled only
|
# enable it for all GHC versions. However, this is getting too much,
|
||||||
# for a selected few versions.) If someone complains about nix-env -qa
|
# particularly in connection with Hydra builds for all these packages.
|
||||||
# output being spammed by lots of Haskell packages, we can talk about
|
# So we enable it for selected versions only.
|
||||||
# reducing the number or "enabled" versions again.
|
|
||||||
|
|
||||||
# Helper functions to abstract away from repetitive instantiations.
|
# Helper functions to abstract away from repetitive instantiations.
|
||||||
haskellPackagesFun =
|
haskellPackagesFun =
|
||||||
ghcPath : ghcBinary : prefFun : profDefault : modifyPrio : recurseIntoAttrs
|
ghcPath : ghcBinary : prefFun : profDefault : modifyPrio :
|
||||||
(import ./haskell-packages.nix {
|
import ./haskell-packages.nix {
|
||||||
inherit pkgs newScope modifyPrio prefFun;
|
inherit pkgs newScope modifyPrio prefFun;
|
||||||
enableLibraryProfiling = getConfig [ "cabal" "libraryProfiling" ] profDefault;
|
enableLibraryProfiling = getConfig [ "cabal" "libraryProfiling" ] profDefault;
|
||||||
ghc = callPackage ghcPath { ghc = ghcBinary; };
|
ghc = callPackage ghcPath { ghc = ghcBinary; };
|
||||||
});
|
};
|
||||||
|
|
||||||
# Currently active GHC versions.
|
# Currently active GHC versions.
|
||||||
haskellPackages_ghc6104 =
|
haskellPackages_ghc6104 =
|
||||||
haskellPackagesFun ../development/compilers/ghc/6.10.4.nix
|
recurseIntoAttrs
|
||||||
ghc6101Binary (x : x.ghc6104Prefs) false (x : x);
|
(haskellPackagesFun ../development/compilers/ghc/6.10.4.nix
|
||||||
|
ghc6101Binary (x : x.ghc6104Prefs) false (x : x));
|
||||||
|
|
||||||
haskellPackages_ghc6121 =
|
haskellPackages_ghc6121 =
|
||||||
haskellPackagesFun ../development/compilers/ghc/6.12.1.nix
|
haskellPackagesFun ../development/compilers/ghc/6.12.1.nix
|
||||||
@ -2083,8 +2083,9 @@ let
|
|||||||
ghc6101Binary (x : x.ghc6122Prefs) false (x : x);
|
ghc6101Binary (x : x.ghc6122Prefs) false (x : x);
|
||||||
|
|
||||||
haskellPackages_ghc6123 =
|
haskellPackages_ghc6123 =
|
||||||
haskellPackagesFun ../development/compilers/ghc/6.12.3.nix
|
recurseIntoAttrs
|
||||||
ghc6101Binary (x : x.ghc6123Prefs) false (x : x);
|
(haskellPackagesFun ../development/compilers/ghc/6.12.3.nix
|
||||||
|
ghc6101Binary (x : x.ghc6123Prefs) false (x : x));
|
||||||
|
|
||||||
# Will never make it into a platform release, severe bugs; leave at lowPrio.
|
# Will never make it into a platform release, severe bugs; leave at lowPrio.
|
||||||
haskellPackages_ghc701 =
|
haskellPackages_ghc701 =
|
||||||
@ -2103,13 +2104,15 @@ let
|
|||||||
# Note that the platform isn't officially released for ghc-7.0.4, but
|
# Note that the platform isn't officially released for ghc-7.0.4, but
|
||||||
# it works without problems.
|
# it works without problems.
|
||||||
haskellPackages_ghc704 =
|
haskellPackages_ghc704 =
|
||||||
haskellPackagesFun ../development/compilers/ghc/7.0.4.nix
|
recurseIntoAttrs
|
||||||
ghc6101Binary (x : x.ghc704Prefs) false (x : x);
|
(haskellPackagesFun ../development/compilers/ghc/7.0.4.nix
|
||||||
|
ghc6101Binary (x : x.ghc704Prefs) false (x : x));
|
||||||
|
|
||||||
# Still a release candidate.
|
# Still a release candidate.
|
||||||
haskellPackages_ghc721 =
|
haskellPackages_ghc721 =
|
||||||
haskellPackagesFun ../development/compilers/ghc/7.2.1.nix
|
recurseIntoAttrs
|
||||||
ghc6121Binary (x : x.ghc721Prefs) false lowPrio;
|
(haskellPackagesFun ../development/compilers/ghc/7.2.1.nix
|
||||||
|
ghc6121Binary (x : x.ghc721Prefs) false lowPrio);
|
||||||
|
|
||||||
haskellPackages_ghcHEAD =
|
haskellPackages_ghcHEAD =
|
||||||
haskellPackagesFun ../development/compilers/ghc/head.nix
|
haskellPackagesFun ../development/compilers/ghc/head.nix
|
||||||
|
Loading…
x
Reference in New Issue
Block a user