From 46f852cda013b818f113c7905f020131a44f2340 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 1 Aug 2012 16:42:51 -0400 Subject: Use a GNU tar flag to shut up warnings about implausibly old timestamp --- corepkgs/config.nix.in | 1 + corepkgs/unpack-channel.nix | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'corepkgs') 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 ''; -- cgit 1.4.1