diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-08-01T20·42-0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-08-01T20·42-0400 |
commit | 46f852cda013b818f113c7905f020131a44f2340 (patch) | |
tree | b0a7b33f8b3c370a18da777a189a7de010b16055 /corepkgs | |
parent | afa7e0187815d89c8af93fa9c1081bf67ab0f10e (diff) |
Use a GNU tar flag to shut up warnings about implausibly old timestamp
Diffstat (limited to 'corepkgs')
-rw-r--r-- | corepkgs/config.nix.in | 1 | ||||
-rw-r--r-- | corepkgs/unpack-channel.nix | 2 |
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 ''; |