1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-10 08:53:55 +02:00

tests: grep for string in nix log for remote-builds

This commit is contained in:
Maximilian Bosch 2022-03-04 16:58:27 +01:00
parent 6a8f1b548f
commit 697d1dac01
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E
3 changed files with 5 additions and 6 deletions

View file

@ -57,8 +57,7 @@ nix path-info --store $TEST_ROOT/machine3 --all \
if [[ -z "$CONTENT_ADDRESSED" ]]; then
for i in input1 input3; do
drv="$(nix-instantiate $file -A passthru.$i --store $TEST_ROOT/machine0 --arg busybox $busybox)"
nix log --store $TEST_ROOT/machine0 "$drv"
nix log --store $TEST_ROOT/machine0 --file "$file" --arg busybox $busybox passthru."$i" | grep hi-$i
done
fi