mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-06 04:24:28 +03:00
haskell shellFor: Fix hoogle
This commit is contained in:
parent
cb46b97ae9
commit
1c07ee7925
@ -312,10 +312,10 @@ in package-set { inherit pkgs stdenv callPackage; } self // {
|
|||||||
|
|
||||||
in self.mkDerivation genericBuilderArgs;
|
in self.mkDerivation genericBuilderArgs;
|
||||||
|
|
||||||
envFuncArgs = builtins.removeAttrs args [ "packages" ];
|
mkDerivationArgs = builtins.removeAttrs args [ "packages" "withHoogle" ];
|
||||||
in (combinedPackageFor packages).env.overrideAttrs (old: envFuncArgs // {
|
in ((combinedPackageFor packages).envFunc { inherit withHoogle; }).overrideAttrs (old: mkDerivationArgs // {
|
||||||
nativeBuildInputs = old.nativeBuildInputs ++ envFuncArgs.nativeBuildInputs or [];
|
nativeBuildInputs = old.nativeBuildInputs ++ mkDerivationArgs.nativeBuildInputs or [];
|
||||||
buildInputs = old.buildInputs ++ envFuncArgs.buildInputs or [];
|
buildInputs = old.buildInputs ++ mkDerivationArgs.buildInputs or [];
|
||||||
});
|
});
|
||||||
|
|
||||||
ghc = ghc // {
|
ghc = ghc // {
|
||||||
|
Loading…
Reference in New Issue
Block a user