about summary refs log tree commit diff
path: root/corepkgs
diff options
context:
space:
mode:
Diffstat (limited to 'corepkgs')
-rw-r--r--corepkgs/config.nix.in1
-rw-r--r--corepkgs/unpack-channel.nix2
2 files changed, 2 insertions, 1 deletions
diff --git a/corepkgs/config.nix.in b/corepkgs/config.nix.in
index 26e821d0e2d7..6f6ec6de1a30 100644
--- a/corepkgs/config.nix.in
+++ b/corepkgs/config.nix.in
@@ -9,6 +9,7 @@ in {
   bzip2 = "@bzip2@";
   xz = "@xz@";
   tar = "@tar@";
+  tarFlags = "@tarFlags@";
   tr = "@tr@";
   curl = "@curl@";
   nixBinDir = fromEnv "NIX_BIN_DIR" "@bindir@";
diff --git a/corepkgs/unpack-channel.nix b/corepkgs/unpack-channel.nix
index b26bece30eae..bbc54c7d1e0d 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 -
+      ${bzip2} -d < $src | ${tar} xf - --warning=no-timestamp 
       mv * $out/$channelName
     '';