ghcWithPackages: add withLLVM

This commit is contained in:
Nikolay Amiantov
2015-03-26 11:29:05 +01:00
committed by Peter Simons
parent 1368206eb8
commit 49f3c375b5
12 changed files with 52 additions and 14 deletions
+4 -1
View File
@@ -54,7 +54,10 @@ let
inherit mkDerivation callPackage;
ghcWithPackages = pkgs: callPackage ./with-packages-wrapper.nix { packages = pkgs self; };
ghcWithPackages = pkgs: callPackage ./with-packages-wrapper.nix {
inherit (self) llvmPackages;
packages = pkgs self;
};
ghc = ghc // { withPackages = self.ghcWithPackages; };