mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
Merge pull request #80845 from obsidiansystems/work-on-multi-shellFor
haskell shellFor: Fix hoogle
This commit is contained in:
commit
bd2c1d72c5
@ -315,10 +315,10 @@ in package-set { inherit pkgs stdenv callPackage; } self // {
|
||||
|
||||
in self.mkDerivation genericBuilderArgs;
|
||||
|
||||
envFuncArgs = builtins.removeAttrs args [ "packages" ];
|
||||
in (combinedPackageFor packages).env.overrideAttrs (old: envFuncArgs // {
|
||||
nativeBuildInputs = old.nativeBuildInputs ++ envFuncArgs.nativeBuildInputs or [];
|
||||
buildInputs = old.buildInputs ++ envFuncArgs.buildInputs or [];
|
||||
mkDerivationArgs = builtins.removeAttrs args [ "packages" "withHoogle" ];
|
||||
in ((combinedPackageFor packages).envFunc { inherit withHoogle; }).overrideAttrs (old: mkDerivationArgs // {
|
||||
nativeBuildInputs = old.nativeBuildInputs ++ mkDerivationArgs.nativeBuildInputs or [];
|
||||
buildInputs = old.buildInputs ++ mkDerivationArgs.buildInputs or [];
|
||||
});
|
||||
|
||||
ghc = ghc // {
|
||||
|
Loading…
Reference in New Issue
Block a user