diff options
author | Nikolay Amiantov <ab@fmap.me> | 2015-03-09 22:11:23 +0300 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2015-03-26 11:29:05 +0100 |
commit | 49f3c375b50eea5f7e3bc59c7ee687fb507edf2e (patch) | |
tree | 21518bc85057167243eef683684e4dbc546998f9 /pkgs/development/haskell-modules/default.nix | |
parent | 1368206eb8463dffee6a3c43fdf7ee12ca0aa468 (diff) |
ghcWithPackages: add withLLVM
Diffstat (limited to 'pkgs/development/haskell-modules/default.nix')
-rw-r--r-- | pkgs/development/haskell-modules/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/default.nix b/pkgs/development/haskell-modules/default.nix index 973ff83c42df4..673855227b88a 100644 --- a/pkgs/development/haskell-modules/default.nix +++ b/pkgs/development/haskell-modules/default.nix @@ -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; }; |