ghcWithPackages: add withLLVM

This commit is contained in:
Nikolay Amiantov
2015-03-09 22:11:23 +03:00
committed by Peter Simons
parent 1368206eb8
commit 49f3c375b5
12 changed files with 52 additions and 14 deletions

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; };