Added a wrapper function to produce a GHC with a predefined set of packages.
svn path=/nixpkgs/trunk/; revision=30716
This commit is contained in:
@@ -107,6 +107,15 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
|
||||
ghc = ghc;
|
||||
};
|
||||
|
||||
# An experimental wrapper around ghcPlain that does not automatically
|
||||
# pick up packages from the profile, but instead has a fixed set of packages
|
||||
# in its global database. The set of packages can be specified as an
|
||||
# argument to this function.
|
||||
|
||||
ghcWithPackages = pkgs : callPackage ../development/compilers/ghc/with-packages.nix {
|
||||
packages = pkgs self;
|
||||
};
|
||||
|
||||
# This is the Cabal builder, the function we use to build most Haskell
|
||||
# packages. It isn't the Cabal library, which is a core package of GHC
|
||||
# and therefore not separately listed here.
|
||||
|
||||
Reference in New Issue
Block a user