Prevent an unnecessary evaluation of lib
This commit is contained in:
@@ -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'.
|
||||
|
||||
Reference in New Issue
Block a user