forked from mirrors/nixpkgs
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 a new issue