From 29c68e446883a4d60045183b2f0aec769e0eddbd Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Tue, 18 May 2010 08:22:35 +0000 Subject: [PATCH] fix check of tarball svn path=/nixpkgs/trunk/; revision=21826 --- pkgs/top-level/make-tarball.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/make-tarball.nix b/pkgs/top-level/make-tarball.nix index 5f5938d25ca..2e2489bd5c8 100644 --- a/pkgs/top-level/make-tarball.nix +++ b/pkgs/top-level/make-tarball.nix @@ -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