about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2018-01-02 22:14:50 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-01-04 14:49:50 -0500
commitdea9fceb0b05aae8729a32a947d38cfa49caac89 (patch)
tree36f564f1eb1b0428cd9f856a746d2711d9e603f5 /pkgs/development/haskell-modules
parent6bdf9a7f6db9f247bd3594324b72fa556df39d6c (diff)
downloadnixlib-dea9fceb0b05aae8729a32a947d38cfa49caac89.tar
nixlib-dea9fceb0b05aae8729a32a947d38cfa49caac89.tar.gz
nixlib-dea9fceb0b05aae8729a32a947d38cfa49caac89.tar.bz2
nixlib-dea9fceb0b05aae8729a32a947d38cfa49caac89.tar.lz
nixlib-dea9fceb0b05aae8729a32a947d38cfa49caac89.tar.xz
nixlib-dea9fceb0b05aae8729a32a947d38cfa49caac89.tar.zst
nixlib-dea9fceb0b05aae8729a32a947d38cfa49caac89.zip
ghcWithPackages: Get rid of unused passthrough
If you want the whole packages set...don't use ghcWithPackages.
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/make-package-set.nix1
-rw-r--r--pkgs/development/haskell-modules/with-packages-wrapper.nix2
2 files changed, 0 insertions, 3 deletions
diff --git a/pkgs/development/haskell-modules/make-package-set.nix b/pkgs/development/haskell-modules/make-package-set.nix
index 968773ded983..6d11048cb6df 100644
--- a/pkgs/development/haskell-modules/make-package-set.nix
+++ b/pkgs/development/haskell-modules/make-package-set.nix
@@ -102,7 +102,6 @@ let
 
   withPackages = packages: buildPackages.callPackage ./with-packages-wrapper.nix {
     inherit (self) llvmPackages;
-    haskellPackages = self;
     inherit packages;
   };
 
diff --git a/pkgs/development/haskell-modules/with-packages-wrapper.nix b/pkgs/development/haskell-modules/with-packages-wrapper.nix
index 7d192dc5d7db..09b6683e26ae 100644
--- a/pkgs/development/haskell-modules/with-packages-wrapper.nix
+++ b/pkgs/development/haskell-modules/with-packages-wrapper.nix
@@ -1,7 +1,6 @@
 { lib, targetPlatform, ghc, llvmPackages, packages, symlinkJoin, makeWrapper
 , withLLVM ? false
 , postBuild ? ""
-, haskellPackages
 , ghcLibdir ? null # only used by ghcjs, when resolving plugins
 }:
 
@@ -131,6 +130,5 @@ symlinkJoin {
   passthru = {
     preferLocalBuild = true;
     inherit (ghc) version meta;
-    inherit haskellPackages;
   };
 }