about summary refs log tree commit diff
path: root/corepkgs/unpack-channel.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-09-11T17·07-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-09-11T17·07-0400
commitd3004c78d9816431224f7ac0416c5bfea0cc22cd (patch)
tree9f38b0d84832e6877bf30b6850d249a27c80d43d /corepkgs/unpack-channel.nix
parent360056e174db2171c47e065ae1e5f58ccee0236f (diff)
Don't use -warning=no-timestamp unless we have GNU tar
http://hydra.nixos.org/build/2998485
Diffstat (limited to 'corepkgs/unpack-channel.nix')
-rw-r--r--corepkgs/unpack-channel.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/corepkgs/unpack-channel.nix b/corepkgs/unpack-channel.nix
index 57d5a09a076a..8cf79f828443 100644
--- a/corepkgs/unpack-channel.nix
+++ b/corepkgs/unpack-channel.nix
@@ -6,7 +6,7 @@ let
     ''
       mkdir $out
       cd $out
-      ${bzip2} -d < $src | ${tar} xf - --warning=no-timestamp
+      ${bzip2} -d < $src | ${tar} xf - ${tarFlags}
       mv * $out/$channelName
       if [ -n "$binaryCacheURL" ]; then
         mkdir $out/binary-caches