File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44{ stdenv
55, pkgs
66, lib
7- , runCommand
87, testers
98} :
109
1110let
1211 # early enough not to rebuild gcc but late enough to have patchelf
1312 earlyPkgs = stdenv . __bootPackages . stdenv . __bootPackages ;
13+ earlierPkgs = stdenv . __bootPackages . stdenv . __bootPackages . stdenv . __bootPackages . stdenv . __bootPackages . stdenv . __bootPackages ;
1414 # use a early stdenv so when hacking on stdenv this test can be run quickly
1515 bootStdenv = stdenv . __bootPackages . stdenv . __bootPackages . stdenv . __bootPackages . stdenv . __bootPackages . stdenv ;
1616 pkgsStructured = import pkgs . path { config = { structuredAttrsByDefault = true ; } ; inherit ( stdenv . hostPlatform ) system ; } ;
1717 bootStdenvStructuredAttrsByDefault = pkgsStructured . stdenv . __bootPackages . stdenv . __bootPackages . stdenv . __bootPackages . stdenv . __bootPackages . stdenv ;
1818
19+ runCommand = earlierPkgs . runCommand ;
20+
1921
2022 ccWrapperSubstitutionsTest = { name , stdenv' , extraAttrs ? { } } :
2123
101103 hooks = lib . recurseIntoAttrs ( import ./hooks.nix { stdenv = bootStdenv ; pkgs = earlyPkgs ; inherit lib ; } ) ;
102104
103105 outputs-no-out = runCommand "outputs-no-out-assert" {
104- result = testers . testBuildFailure ( stdenv . mkDerivation {
106+ result = earlierPkgs . testers . testBuildFailure ( bootStdenv . mkDerivation {
105107 NIX_DEBUG = 1 ;
106108 name = "outputs-no-out" ;
107109 outputs = [ "foo" ] ;
You can’t perform that action at this time.
0 commit comments