diff options
Diffstat (limited to 'pkgs/top-level/make-tarball.nix')
-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 11c12378ba8..22fc80390ac 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 pkgs/lib/tests.nix)" + if test "$res" != "List([])"; then + echo "regression tests for lib failed, got: $res" exit 1 fi |