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
This commit is contained in:
John Ericson
2016-12-03 17:21:07 -08:00
parent 4751d9e5ad
commit 5c6234a7d3
3 changed files with 16 additions and 5 deletions
@@ -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 {