about summary refs log tree commit diff
path: root/pkgs/stdenv/linux
diff options
context:
space:
mode:
authorGergely Risko <errge@nilcons.com>2014-09-11 00:24:03 +0200
committerGergely Risko <errge@nilcons.com>2014-09-11 00:24:03 +0200
commitf2c5125e82f4c732d20ae245a9f535c554974903 (patch)
treec3323c105a904c01ed3ba22b0fc7741643b03768 /pkgs/stdenv/linux
parent42ee2261841c754c44e04f7ec9fee4fd62a69696 (diff)
downloadnixlib-f2c5125e82f4c732d20ae245a9f535c554974903.tar
nixlib-f2c5125e82f4c732d20ae245a9f535c554974903.tar.gz
nixlib-f2c5125e82f4c732d20ae245a9f535c554974903.tar.bz2
nixlib-f2c5125e82f4c732d20ae245a9f535c554974903.tar.lz
nixlib-f2c5125e82f4c732d20ae245a9f535c554974903.tar.xz
nixlib-f2c5125e82f4c732d20ae245a9f535c554974903.tar.zst
nixlib-f2c5125e82f4c732d20ae245a9f535c554974903.zip
Fix testability of pkgs/stdenv/linux/default.nix
The point here is that it's always possible to debug this staging
logic by using `nix-repl pkgs/stdenv/linux'. The modular-stdenv
change introduced the lib dependency, which we now default to
../../../lib.

No derivation or out hashes of stdenvLinux is changed by this commit.
Diffstat (limited to 'pkgs/stdenv/linux')
-rw-r--r--pkgs/stdenv/linux/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix
index 6b15808285b0..e9de4abd7fa0 100644
--- a/pkgs/stdenv/linux/default.nix
+++ b/pkgs/stdenv/linux/default.nix
@@ -7,7 +7,7 @@
 # The function defaults are for easy testing.
 { system ? builtins.currentSystem
 , allPackages ? import ../../top-level/all-packages.nix
-, platform ? null, config ? {}, lib }:
+, platform ? null, config ? {}, lib ? (import ../../../lib) }:
 
 rec {