Prevent an unnecessary evaluation of lib

This commit is contained in:
Eelco Dolstra
2014-08-09 12:45:18 +02:00
parent cd948c093f
commit be3fc3ae2f
4 changed files with 8 additions and 10 deletions
+3 -3
View File
@@ -5,7 +5,7 @@
# Posix utilities, the GNU C compiler, and so on. On other systems,
# we use the native C library.
{ system, allPackages ? import ../.., platform, config }:
{ system, allPackages ? import ../.., platform, config, lib }:
rec {
@@ -28,14 +28,14 @@ rec {
# The Nix build environment.
stdenvNix = import ./nix {
inherit config;
inherit config lib;
stdenv = stdenvNative;
pkgs = stdenvNativePkgs;
};
# Linux standard environment.
stdenvLinux = (import ./linux { inherit system allPackages platform config;}).stdenvLinux;
stdenvLinux = (import ./linux { inherit system allPackages platform config lib; }).stdenvLinux;
# Select the appropriate stdenv for the platform `system'.