svn path=/nixpkgs/trunk/; revision=14854
This commit is contained in:
Eelco Dolstra 2009-04-03 12:21:06 +00:00
parent 75e277ac15
commit d6ca7f9e13

View File

@ -40,8 +40,9 @@ releaseTools.makeSourceTarball {
checkPhase = ''
# Run the regression tests in `lib'.
if test "$(nix-instantiate --eval-only --strict tests.nix)" != "List([])"; then
echo "regression tests for `lib' failed"
res="$(nix-instantiate --eval-only --strict tests.nix)"
if test "$res" != "List([])"; then
echo "regression tests for lib failed, got: $res"
exit 1
fi