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:
parent
ea9d5e8e56
commit
6d928ab684
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue