mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
fix check of tarball
svn path=/nixpkgs/trunk/; revision=21826
This commit is contained in:
parent
bc720e1061
commit
29c68e4468
@ -43,7 +43,7 @@ releaseTools.makeSourceTarball {
|
||||
checkPhase = ''
|
||||
# Run the regression tests in `lib'.
|
||||
res="$(nix-instantiate --eval-only --strict pkgs/lib/tests.nix)"
|
||||
if test "$res" != "List([])"; then
|
||||
if test "$res" != "[]"; then
|
||||
echo "regression tests for lib failed, got: $res"
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user