about summary refs log tree commit diff
path: root/tests/nix-channel.sh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-08-10T15·22+0200
committerGitHub <noreply@github.com>2016-08-10T15·22+0200
commit6601e465675c5927f85e68a78c22f8828ddc3362 (patch)
treeb85e8f8f0257c2415e603eba86448f4ff24c918a /tests/nix-channel.sh
parenta6eed133c5a3602037bc48675ca783185cca5454 (diff)
parent6e51af80231b2a35ba3f5edffa7e235b239955a0 (diff)
Merge pull request #1024 from shlevy/nuke-nix-push
Nuke nix-push.
Diffstat (limited to 'tests/nix-channel.sh')
-rw-r--r--tests/nix-channel.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/nix-channel.sh b/tests/nix-channel.sh
index 2ec986dd415b..553ada51d9f7 100644
--- a/tests/nix-channel.sh
+++ b/tests/nix-channel.sh
@@ -15,7 +15,7 @@ nix-channel --remove xyzzy
 # Create a channel.
 rm -rf $TEST_ROOT/foo
 mkdir -p $TEST_ROOT/foo
-nix-push --dest $TEST_ROOT/foo --manifest --bzip2 $(nix-store -r $(nix-instantiate dependencies.nix))
+nix copy --recursive --to file://$TEST_ROOT/foo?compression="bzip2" $(nix-store -r $(nix-instantiate dependencies.nix))
 rm -rf $TEST_ROOT/nixexprs
 mkdir -p $TEST_ROOT/nixexprs
 cp config.nix dependencies.nix dependencies.builder*.sh $TEST_ROOT/nixexprs/