aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-11-13 10:08:31 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-11-13 10:08:31 +0000
commit3392d32e8b4202da8d3b013edd6f585e98aa7b02 (patch)
tree12dcf1cc9e5353aa03335b7f4102e853d9f2d483 /tests
parent327a232c85de3faa56f9a6117c86e1aa22f88bd6 (diff)
* In nix-pull/nix-channel, create the manifests directory if it
doesn't exist. The Debian packages don't include the manifests directory, so nix-channel would silently skip doing a nix-pull, resulting in everything being built from source. Thanks to Juan Pedro BolĂ­var Puente.
Diffstat (limited to 'tests')
-rw-r--r--tests/init.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/init.sh b/tests/init.sh
index bcff1e240..0639a7066 100644
--- a/tests/init.sh
+++ b/tests/init.sh
@@ -36,12 +36,6 @@ ln -s $TOP/scripts/copy-from-other-stores.pl $NIX_BIN_DIR/nix/
ln -s $TOP/scripts/download-using-manifests.pl $NIX_BIN_DIR/nix/
ln -s $TOP/scripts/readmanifest.pm $NIX_BIN_DIR/nix/
-mkdir -p "$NIX_STATE_DIR"/manifests
-mkdir -p "$NIX_STATE_DIR"/gcroots
-mkdir -p "$NIX_STATE_DIR"/temproots
-mkdir -p "$NIX_STATE_DIR"/profiles
-ln -s "$NIX_STATE_DIR"/profiles "$NIX_STATE_DIR"/gcroots/
-
cat > "$NIX_CONF_DIR"/nix.conf <<EOF
gc-keep-outputs = false
gc-keep-derivations = false