mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 14:41:27 +00:00
* 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:
parent
500c46b56b
commit
069604730b
@ -12,11 +12,13 @@ runTests {
|
||||
expr = const 2 3;
|
||||
expected = 2;
|
||||
};
|
||||
|
||||
|
||||
/*
|
||||
testOr = {
|
||||
expr = or true false;
|
||||
expected = true;
|
||||
};
|
||||
*/
|
||||
|
||||
testAnd = {
|
||||
expr = and true false;
|
||||
|
@ -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
|
||||
|
@ -133,7 +133,6 @@ with (import ./release-lib.nix);
|
||||
nfsUtils = linux;
|
||||
nix = all;
|
||||
nixUnstable = all;
|
||||
nixSqlite = all;
|
||||
nss_ldap = linux;
|
||||
nssmdns = linux;
|
||||
ntfs3g = linux;
|
||||
|
@ -210,7 +210,6 @@ with (import ./release-lib.nix);
|
||||
nfsUtils = linux;
|
||||
nix = all;
|
||||
nixUnstable = all;
|
||||
nixSqlite = all;
|
||||
nmap = linux;
|
||||
nss_ldap = linux;
|
||||
nssmdns = linux;
|
||||
|
Loading…
Reference in New Issue
Block a user