about summary refs log tree commit diff
path: root/corepkgs/channels
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-02-02T17·01+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-02-02T17·01+0000
commit3ce5f07793c22c95ebc8b0ddc9b105f5e72623f7 (patch)
treedf2f4b987b9a4bc3fe0aa7fb5fbe2007996554e5 /corepkgs/channels
parente839802720af75e5af321b46a3921695ed696e79 (diff)
* Ugly hack to make `nix-channel' work on Cygwin.
Diffstat (limited to 'corepkgs/channels')
-rw-r--r--corepkgs/channels/unpack.sh.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/corepkgs/channels/unpack.sh.in b/corepkgs/channels/unpack.sh.in
index b1119f937cd3..fc85e4ad2e27 100644
--- a/corepkgs/channels/unpack.sh.in
+++ b/corepkgs/channels/unpack.sh.in
@@ -1,5 +1,8 @@
 #! @shell@ -e
 
+# Cygwin compatibility hack: bunzip2 expects cygwin.dll in $PATH.
+export PATH=@coreutils@
+
 @coreutils@/mkdir $out
 @coreutils@/mkdir $out/tmp
 cd $out/tmp