From 5e2f703e83cb97cfddef33f9345f208bac40d128 Mon Sep 17 00:00:00 2001 From: milahu Date: Thu, 9 Sep 2021 20:13:21 +0200 Subject: [PATCH] unpackFile: ignore timestamp warnings --- pkgs/stdenv/generic/setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/stdenv/generic/setup.sh b/pkgs/stdenv/generic/setup.sh index ec5a5e6dcb9d..249303b5936b 100644 --- a/pkgs/stdenv/generic/setup.sh +++ b/pkgs/stdenv/generic/setup.sh @@ -832,12 +832,12 @@ _defaultUnpack() { case "$fn" in *.tar.xz | *.tar.lzma | *.txz) # Don't rely on tar knowing about .xz. - xz -d < "$fn" | tar xf - + xz -d < "$fn" | tar xf - --warning=no-timestamp ;; *.tar | *.tar.* | *.tgz | *.tbz2 | *.tbz) # GNU tar can automatically select the decompression method # (info "(tar) gzip"). - tar xf "$fn" + tar xf "$fn" --warning=no-timestamp ;; *) return 1