1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-02-16 07:48:58 +00:00

Don't preserve timestamps when copying sources to the temporary build directory.

This should fix issues like "ZIP does not support timestamps before 1980"
This commit is contained in:
Shea Levy 2012-12-14 13:36:04 -05:00
parent ea9d5e8e56
commit 6d928ab684

View file

@ -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"