* Work around some problems in tarball checks. Nix wants to open the

DB even in read-only mode.  Should probably fix that.  Also, "or" no
  longer works like this because it's a keyword now.

svn path=/nixpkgs/trunk/; revision=34079
This commit is contained in:
Eelco Dolstra 2012-05-13 19:10:57 +00:00
parent 500c46b56b
commit 069604730b
4 changed files with 6 additions and 3 deletions

View File

@ -12,11 +12,13 @@ runTests {
expr = const 2 3;
expected = 2;
};
/*
testOr = {
expr = or true false;
expected = true;
};
*/
testAnd = {
expr = and true false;

View File

@ -41,6 +41,9 @@ releaseTools.makeSourceTarball {
doCheck = true;
checkPhase = ''
export NIX_DB_DIR=$TMPDIR
nix-store --init
# Run the regression tests in `lib'.
res="$(nix-instantiate --eval-only --strict pkgs/lib/tests.nix)"
if test "$res" != "[ ]"; then

View File

@ -133,7 +133,6 @@ with (import ./release-lib.nix);
nfsUtils = linux;
nix = all;
nixUnstable = all;
nixSqlite = all;
nss_ldap = linux;
nssmdns = linux;
ntfs3g = linux;

View File

@ -210,7 +210,6 @@ with (import ./release-lib.nix);
nfsUtils = linux;
nix = all;
nixUnstable = all;
nixSqlite = all;
nmap = linux;
nss_ldap = linux;
nssmdns = linux;