mirror of
https://github.com/NixOS/nix
synced 2025-07-08 19:23:54 +02:00
tests: copying only the out paths is not enough information for CA
This commit is contained in:
parent
12685ef45f
commit
5e332aa503
2 changed files with 3 additions and 1 deletions
|
@ -18,7 +18,8 @@ fi
|
|||
# Build the dependencies and push them to the remote store.
|
||||
nix-build -o $TEST_ROOT/result dependencies.nix --post-build-hook "$pushToStore"
|
||||
# See if all outputs are passed to the post-build hook by only specifying one
|
||||
export BUILD_HOOK_ONLY_OUT_PATHS=1
|
||||
# TODO: BUILD_HOOK_ONLY_OUT_PATHS does not work with CA tests
|
||||
export BUILD_HOOK_ONLY_OUT_PATHS=$([ ! $NIX_TESTS_CA_BY_DEFAULT ])
|
||||
nix-build -o $TEST_ROOT/result-mult multiple-outputs.nix -A a.first --post-build-hook "$pushToStore"
|
||||
|
||||
clearStore
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue