ghcWithPackages: Get rid of unused passthrough
If you want the whole packages set...don't use ghcWithPackages.
This commit is contained in:
parent
6bdf9a7f6d
commit
dea9fceb0b
|
@ -102,7 +102,6 @@ let
|
||||||
|
|
||||||
withPackages = packages: buildPackages.callPackage ./with-packages-wrapper.nix {
|
withPackages = packages: buildPackages.callPackage ./with-packages-wrapper.nix {
|
||||||
inherit (self) llvmPackages;
|
inherit (self) llvmPackages;
|
||||||
haskellPackages = self;
|
|
||||||
inherit packages;
|
inherit packages;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{ lib, targetPlatform, ghc, llvmPackages, packages, symlinkJoin, makeWrapper
|
{ lib, targetPlatform, ghc, llvmPackages, packages, symlinkJoin, makeWrapper
|
||||||
, withLLVM ? false
|
, withLLVM ? false
|
||||||
, postBuild ? ""
|
, postBuild ? ""
|
||||||
, haskellPackages
|
|
||||||
, ghcLibdir ? null # only used by ghcjs, when resolving plugins
|
, ghcLibdir ? null # only used by ghcjs, when resolving plugins
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -131,6 +130,5 @@ symlinkJoin {
|
||||||
passthru = {
|
passthru = {
|
||||||
preferLocalBuild = true;
|
preferLocalBuild = true;
|
||||||
inherit (ghc) version meta;
|
inherit (ghc) version meta;
|
||||||
inherit haskellPackages;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue