mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
testers.testBuildFailure: fix
Introduced by cf127c9dc3, which changed
default-builder.sh, but forgot to tell testBuildFailure about it.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user