aboutsummaryrefslogtreecommitdiff
path: root/tests/init.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-02-08 14:32:06 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-02-08 14:32:06 +0000
commite771e59178f42fd1c6005c8a35f2ecfebf0e4ce4 (patch)
tree228be7a69d5f903cbd48e60b864d76fe9caef31b /tests/init.sh
parent39f50db731bb1924d3c18b153dfe4258208b8812 (diff)
* Tests for nix-env, finally!
Diffstat (limited to 'tests/init.sh')
-rw-r--r--tests/init.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/init.sh b/tests/init.sh
index c3a7aac29..316b2ec3d 100644
--- a/tests/init.sh
+++ b/tests/init.sh
@@ -28,6 +28,8 @@ 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