about summary refs log tree commit diff
path: root/tests/nix-channel.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2012-01-03T12·18+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2012-01-03T12·18+0000
commit63227d434cefaa9faeb14afe28ebeb9b2d449ee2 (patch)
treea842722fb063a308a27b22ab9a21d48e437e9f99 /tests/nix-channel.sh
parent9b7df1ef007d9209b17f7aa40a03be0250ea30d0 (diff)
* FreeBSD tar defaults to the tape device instead of stdout.
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 1d7724e93374..4819b57c91c0 100644
--- a/tests/nix-channel.sh
+++ b/tests/nix-channel.sh
@@ -24,7 +24,7 @@ rm -rf $TEST_ROOT/nixexprs
 mkdir -p $TEST_ROOT/nixexprs
 cp config.nix dependencies.nix dependencies.builder*.sh $TEST_ROOT/nixexprs/
 ln -s dependencies.nix $TEST_ROOT/nixexprs/default.nix
-(cd $TEST_ROOT && tar cv nixexprs) | bzip2 > $TEST_ROOT/foo/nixexprs.tar.bz2
+(cd $TEST_ROOT && tar cvf - nixexprs) | bzip2 > $TEST_ROOT/foo/nixexprs.tar.bz2
 
 # Test the update action.
 nix-channel --add file://$TEST_ROOT/foo