From 6d928ab684327e0eeb1bf6cd889d57ca7127e8a7 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Fri, 14 Dec 2012 13:36:04 -0500 Subject: [PATCH] Don't preserve timestamps when copying sources to the temporary build directory. This should fix issues like "ZIP does not support timestamps before 1980" --- pkgs/stdenv/generic/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/stdenv/generic/setup.sh b/pkgs/stdenv/generic/setup.sh index 0e31c7a0f1e5..e30b0656e623 100644 --- a/pkgs/stdenv/generic/setup.sh +++ b/pkgs/stdenv/generic/setup.sh @@ -445,7 +445,7 @@ unpackFile() { *) if [ -d "$curSrc" ]; then stripHash $curSrc - cp -prd $curSrc $strippedName + cp -prd --no-preserve=timestamps $curSrc $strippedName else if [ -z "$unpackCmd" ]; then echo "source archive $curSrc has unknown type"