about summary refs log tree commit diff
path: root/tests/nix-channel.sh
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2016-08-10T15·13-0400
committerShea Levy <shea@shealevy.com>2016-08-10T15·13-0400
commit6e51af80231b2a35ba3f5edffa7e235b239955a0 (patch)
treeb85e8f8f0257c2415e603eba86448f4ff24c918a /tests/nix-channel.sh
parenta6eed133c5a3602037bc48675ca783185cca5454 (diff)
Nuke nix-push.
Rarely used, nix copy replaces it.
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/