Skip to content

Commit

Permalink
WIP show nix logs
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpitt committed Dec 15, 2023
1 parent d73118f commit f551e9b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/run-nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,12 @@ EOG
[ -z "${DEBUG:-}" ] || nix-env -i cntr
nix-build --keep-failed /tmp/default.nix
if ! nix-build --keep-failed /tmp/default.nix; then
for log in /build/source/build/meson-logs/*; do
[ -f "\$log" ] || break
echo "=== \$log ==="
cat "\$log"
done
exit 1
fi
EOF

0 comments on commit f551e9b

Please sign in to comment.