diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-04-03 12:21:06 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-04-03 12:21:06 +0000 |
commit | d6ca7f9e131b13cf22b4f5e5e213c304592c2cba (patch) | |
tree | cb881f3227bcd12f42436979de8c59f17d4c4804 | |
parent | 75e277ac15457d53c90c4edbf6ff1366329d8ed9 (diff) |
* Doh.
svn path=/nixpkgs/trunk/; revision=14854
-rw-r--r-- | pkgs/top-level/make-tarball.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/top-level/make-tarball.nix b/pkgs/top-level/make-tarball.nix index 11c12378ba8df..0c138545f720b 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 |