Don't use -warning=no-timestamp unless we have GNU tar

http://hydra.nixos.org/build/2998485
This commit is contained in:
Eelco Dolstra 2012-09-11 13:07:22 -04:00
parent 360056e174
commit d3004c78d9

View file

@ -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