summary refs log tree commit diff
path: root/pkgs/stdenv/linux
diff options
context:
space:
mode:
authorJohn Ericson <Ericson2314@Yahoo.com>2016-12-03 17:21:07 -0800
committerJohn Ericson <Ericson2314@Yahoo.com>2016-12-03 17:21:07 -0800
commit5c6234a7d3f0b430d7dc941dc1ab059c42729611 (patch)
tree2bfcee5413e6d751274dd57d378a179c0dcb5fd3 /pkgs/stdenv/linux
parent4751d9e5ad124284dbd719d3a58f42d56f1b9514 (diff)
downloadnixlib-5c6234a7d3f0b430d7dc941dc1ab059c42729611.tar
nixlib-5c6234a7d3f0b430d7dc941dc1ab059c42729611.tar.gz
nixlib-5c6234a7d3f0b430d7dc941dc1ab059c42729611.tar.bz2
nixlib-5c6234a7d3f0b430d7dc941dc1ab059c42729611.tar.lz
nixlib-5c6234a7d3f0b430d7dc941dc1ab059c42729611.tar.xz
nixlib-5c6234a7d3f0b430d7dc941dc1ab059c42729611.tar.zst
nixlib-5c6234a7d3f0b430d7dc941dc1ab059c42729611.zip
top-level: Allow manually specifying a stdenv, and fix stdenv tests
 - The darwin test can now force the use of the freshly-booted darwin stdenv
 - The linux test now passes enough dummy arguments

This may make debugging harder, if so, check out #20889
Diffstat (limited to 'pkgs/stdenv/linux')
-rw-r--r--pkgs/stdenv/linux/make-bootstrap-tools.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/stdenv/linux/make-bootstrap-tools.nix b/pkgs/stdenv/linux/make-bootstrap-tools.nix
index 1ecb222af3ec..7063d7bfcb6a 100644
--- a/pkgs/stdenv/linux/make-bootstrap-tools.nix
+++ b/pkgs/stdenv/linux/make-bootstrap-tools.nix
@@ -175,6 +175,13 @@ rec {
 
   bootstrapTools = (import ./default.nix {
     inherit system bootstrapFiles;
+
+    lib = assert false; null;
+    allPackages = assert false; null;
+
+    platform = assert false; null;
+    crossSystem = assert false; null;
+    config = assert false; null;
   }).bootstrapTools;
 
   test = derivation {