about summary refs log tree commit diff
path: root/tests/init.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-03-01T12·51+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-03-01T12·51+0000
commit84c4631221bc65643830173b4affe58b0dc58202 (patch)
tree19093aff12bbb33e1b377a2fdec688965e42029e /tests/init.sh
parenta4c63c6e8e161d55778b797e566d9eca7c47f34f (diff)
* Simplification.
Diffstat (limited to 'tests/init.sh')
-rw-r--r--tests/init.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/init.sh b/tests/init.sh
index cd9fe60219dd..a11d63f75924 100644
--- a/tests/init.sh
+++ b/tests/init.sh
@@ -18,9 +18,9 @@ mkdir "$NIX_DB_DIR"
 mkdir "$NIX_CONF_DIR"
 
 mkdir $NIX_BIN_DIR
-ln -s $TOP/src/nix-store/nix-store $NIX_BIN_DIR/
-ln -s $TOP/src/nix-instantiate/nix-instantiate $NIX_BIN_DIR/
-ln -s $TOP/src/nix-hash/nix-hash $NIX_BIN_DIR/
+ln -s $nixstore $NIX_BIN_DIR/
+ln -s $nixinstantiate $NIX_BIN_DIR/
+ln -s $nixhash $NIX_BIN_DIR/
 ln -s $TOP/scripts/nix-prefetch-url $NIX_BIN_DIR/
 ln -s $TOP/scripts/nix-collect-garbage $NIX_BIN_DIR/
 mkdir $NIX_BIN_DIR/nix
@@ -66,7 +66,7 @@ chmod +x tmp
 mv tmp $NIX_DATA_DIR/nix/corepkgs/nar/nar.sh
 
 # Initialise the database.
-$TOP/src/nix-store/nix-store --init
+$nixstore --init
 
 # Did anything happen?
 test -e "$NIX_DB_DIR"/validpaths