From d6ca7f9e131b13cf22b4f5e5e213c304592c2cba Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 3 Apr 2009 12:21:06 +0000 Subject: [PATCH] * Doh. svn path=/nixpkgs/trunk/; revision=14854 --- pkgs/top-level/make-tarball.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/make-tarball.nix b/pkgs/top-level/make-tarball.nix index 11c12378ba8..0c138545f72 100644 --- a/pkgs/top-level/make-tarball.nix +++ b/pkgs/top-level/make-tarball.nix @@ -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