diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-02-15 09:39:12 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-02-15 09:39:12 +0000 |
commit | 0083562f759223f3ef7ace4f269137cf68bf1295 (patch) | |
tree | 01b21a5b1c7924ecdfbe84769726840df80aab3d /tests/init.sh | |
parent | 8992fce3da844e3cfc7cbc563cbf5313980c16dd (diff) | |
download | guix-0083562f759223f3ef7ace4f269137cf68bf1295.tar.gz |
* Fix broken GC test.
Diffstat (limited to 'tests/init.sh')
-rw-r--r-- | tests/init.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/init.sh b/tests/init.sh index 2ad3c18a7e..eb791493ba 100644 --- a/tests/init.sh +++ b/tests/init.sh @@ -13,6 +13,7 @@ mkdir "$NIX_LOCALSTATE_DIR" mkdir -p "$NIX_LOG_DIR" mkdir "$NIX_STATE_DIR" mkdir "$NIX_DB_DIR" +mkdir "$NIX_CONF_DIR" mkdir $NIX_BIN_DIR ln -s $TOP/src/nix-store/nix-store $NIX_BIN_DIR/ @@ -28,6 +29,12 @@ mkdir -p "$NIX_STATE_DIR"/manifests mkdir -p "$NIX_STATE_DIR"/gcroots mkdir -p "$NIX_STATE_DIR"/temproots +cat > "$NIX_CONF_DIR"/nix.conf <<EOF +gc-keep-outputs = false +gc-keep-derivations = false +env-keep-derivations = false +EOF + mkdir $NIX_DATA_DIR/nix cp -prd $TOP/corepkgs $NIX_DATA_DIR/nix/ # Bah, script has the prefix hard-coded. This is really messy stuff |