mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
tarball job: more --show-trace
Without that I couldn't well do the grandparent commit.
This commit is contained in:
parent
66d6e847bb
commit
8d7439eb19
@ -54,7 +54,7 @@ releaseTools.sourceTarball rec {
|
|||||||
mkdir $TMPDIR/foo
|
mkdir $TMPDIR/foo
|
||||||
ln -s $(readlink -f .) $TMPDIR/foo/bar
|
ln -s $(readlink -f .) $TMPDIR/foo/bar
|
||||||
p1=$(nix-instantiate ./. --dry-run -A firefox --show-trace)
|
p1=$(nix-instantiate ./. --dry-run -A firefox --show-trace)
|
||||||
p2=$(nix-instantiate $TMPDIR/foo/bar --dry-run -A firefox)
|
p2=$(nix-instantiate $TMPDIR/foo/bar --dry-run -A firefox --show-trace)
|
||||||
if [ "$p1" != "$p2" ]; then
|
if [ "$p1" != "$p2" ]; then
|
||||||
echo "Nixpkgs evaluation depends on Nixpkgs path ($p1 vs $p2)!"
|
echo "Nixpkgs evaluation depends on Nixpkgs path ($p1 vs $p2)!"
|
||||||
exit 1
|
exit 1
|
||||||
@ -63,9 +63,9 @@ releaseTools.sourceTarball rec {
|
|||||||
# Run the regression tests in `lib'.
|
# Run the regression tests in `lib'.
|
||||||
if
|
if
|
||||||
# `set -e` doesn't work inside here, so need to && instead :(
|
# `set -e` doesn't work inside here, so need to && instead :(
|
||||||
res="$(nix-instantiate --eval --strict lib/tests/misc.nix)" \
|
res="$(nix-instantiate --eval --strict lib/tests/misc.nix --show-trace)" \
|
||||||
&& [[ "$res" == "[ ]" ]] \
|
&& [[ "$res" == "[ ]" ]] \
|
||||||
&& res="$(nix-instantiate --eval --strict lib/tests/systems.nix)" \
|
&& res="$(nix-instantiate --eval --strict lib/tests/systems.nix --show-trace)" \
|
||||||
&& [[ "$res" == "[ ]" ]]
|
&& [[ "$res" == "[ ]" ]]
|
||||||
then
|
then
|
||||||
true
|
true
|
||||||
|
Loading…
Reference in New Issue
Block a user