Make some arguments passed to all-packages.nix available in the pkgs set

These are needed to re-call <nixpkgs/pkgs/stdenv> to, say, deeply override glibc

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2013-05-04 21:21:31 -04:00
parent f8f9f3b1cc
commit 0f633fdfc6

View File

@ -139,6 +139,9 @@ let
# eventually.
inherit __overrides pkgs;
# Make some arguments passed to all-packages.nix available
inherit system stdenvType platform;
# We use `callPackage' to be able to omit function arguments that
# can be obtained from `pkgs' or `pkgs.xorg' (i.e. `defaultScope').