testers.testBuildFailure: fix

Introduced by cf127c9dc3, which changed
default-builder.sh, but forgot to tell testBuildFailure about it.
This commit is contained in:
Wolfgang Walther
2025-01-21 17:36:42 +01:00
parent 1cd1cb9db8
commit 4c5458df2c
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@
};
})
orig.realBuilder or stdenv.shell
] ++ orig.args or ["-e" (orig.builder or ../../stdenv/generic/default-builder.sh)];
] ++ orig.args or ["-e" ../../stdenv/generic/source-stdenv.sh (orig.builder or ../../stdenv/generic/default-builder.sh)];
});
# See https://nixos.org/manual/nixpkgs/unstable/#tester-testEqualDerivation

View File

@@ -35,7 +35,7 @@ echo "testBuildFailure: Original builder produced exit code: $r"
# -----------------------------------------
# Write the build log to the default output
# Source structured attrs as per nixpkgs/pkgs/stdenv/generic/default-builder.sh
# Source structured attrs as per nixpkgs/pkgs/stdenv/generic/source-stdenv.sh
#
# We need this so that we can read $outputs when `__structuredAttrs` is enabled
#