diff --git a/tests/run-nix b/tests/run-nix index eb54449..b23f19d 100755 --- a/tests/run-nix +++ b/tests/run-nix @@ -32,10 +32,9 @@ in pkgs.umockdev.overrideAttrs (attrs: { }) EOG -[ -z "${DEBUG:-}" ] || nix-env -i cntr - if ! nix-build --keep-failed /tmp/default.nix; then - for log in /build/source/build/meson-logs/*; do + logdir=\$(find /tmp -name meson-logs -type d) + for log in "\$logdir"/*; do [ -f "\$log" ] || break echo "=== \$log ===" cat "\$log"