Merge pull request #28478 from obsidiansystems/haskell-custom-stdenv

haskell infra: Make sure packages get custom stdenv
This commit is contained in:
Peter Simons 2017-09-05 11:14:57 +02:00 committed by GitHub
commit 1357268b90

View File

@ -92,7 +92,7 @@ let
}; };
in stdenv.lib.makeOverridable drvScope (auto // manualArgs); in stdenv.lib.makeOverridable drvScope (auto // manualArgs);
mkScope = scope: pkgs // pkgs.xorg // pkgs.gnome2 // scope; mkScope = scope: pkgs // pkgs.xorg // pkgs.gnome2 // { inherit stdenv; } // scope;
defaultScope = mkScope self; defaultScope = mkScope self;
callPackage = drv: args: callPackageWithScope defaultScope drv args; callPackage = drv: args: callPackageWithScope defaultScope drv args;