diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-07-18 20:03:12 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-07-18 20:03:12 +0000 |
commit | e139d7fc6896ec9eaca3944828e37ec61894d8e0 (patch) | |
tree | 14bdbf8c4a7ab52353862f051d03de8bb00ef435 | |
parent | 989176c56e1996a7df87bb501ad09aed1f3b395d (diff) |
* Fix the tests.
-rw-r--r-- | tests/init.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/init.sh b/tests/init.sh index 7becc422e..0ce4fe7b9 100644 --- a/tests/init.sh +++ b/tests/init.sh @@ -32,6 +32,7 @@ ln -s $TOP/scripts/nix-pull $NIX_BIN_DIR/ ln -s $bzip2_bin_test/bzip2 $NIX_BIN_DIR/ ln -s $bzip2_bin_test/bunzip2 $NIX_BIN_DIR/ mkdir $NIX_BIN_DIR/nix +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/ @@ -54,6 +55,7 @@ cp -pr $TOP/corepkgs $NIX_DATA_DIR/nix/ for i in \ $NIX_DATA_DIR/nix/corepkgs/nar/nar.sh \ $NIX_BIN_DIR/nix/download-using-manifests.pl \ + $NIX_BIN_DIR/nix/copy-from-other-stores.pl \ $NIX_BIN_DIR/nix-prefetch-url \ $NIX_BIN_DIR/nix-collect-garbage \ $NIX_BIN_DIR/nix-build \ @@ -91,6 +93,10 @@ exec $NIX_BIN_DIR/nix/download-using-manifests.pl.real "\$@" EOF chmod +x $NIX_BIN_DIR/nix/download-using-manifests.pl +mkdir -p $NIX_BIN_DIR/nix/substituters +mv $NIX_BIN_DIR/nix/copy-from-other-stores.pl $NIX_BIN_DIR/nix/substituters/copy-from-other-stores.pl +mv $NIX_BIN_DIR/nix/download-using-manifests.pl $NIX_BIN_DIR/nix/substituters/download-using-manifests.pl + # Initialise the database. $nixstore --init |