tarball: add --show-trace on the remaining calls

This should help tracing some evaluation problems in future.
This commit is contained in:
Vladimír Čunát 2013-08-23 09:02:10 +02:00
parent c1e62e7e91
commit 310ae0915e

View File

@ -47,7 +47,7 @@ releaseTools.sourceTarball {
nix-store --init
# Run the regression tests in `lib'.
res="$(nix-instantiate --eval-only --strict pkgs/lib/tests.nix)"
res="$(nix-instantiate --eval-only --strict --show-trace pkgs/lib/tests.nix)"
if test "$res" != "[ ]"; then
echo "regression tests for lib failed, got: $res"
exit 1
@ -63,7 +63,7 @@ releaseTools.sourceTarball {
done
header "checking eval-release.nix"
nix-instantiate --eval-only --strict --xml ./maintainers/scripts/eval-release.nix > $TMPDIR/out.xml
nix-instantiate --eval-only --strict --xml --show-trace ./maintainers/scripts/eval-release.nix > $TMPDIR/out.xml
xmllint --noout $TMPDIR/out.xml
stopNest
'';