3
0
Fork 0
forked from mirrors/nixpkgs

fix check of tarball

svn path=/nixpkgs/trunk/; revision=21826
This commit is contained in:
Rob Vermaas 2010-05-18 08:22:35 +00:00
parent bc720e1061
commit 29c68e4468

View file

@ -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