mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
tarfile.cc: Restore timestamps
This is needed to get the lastModified attribute of GitHub flakes.
This commit is contained in:
parent
2550c11373
commit
c84c843e33
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ static void extract_archive(TarArchive & archive, const Path & destDir)
|
|||
{
|
||||
int flags = ARCHIVE_EXTRACT_FFLAGS
|
||||
| ARCHIVE_EXTRACT_PERM
|
||||
| ARCHIVE_EXTRACT_TIME
|
||||
| ARCHIVE_EXTRACT_SECURE_SYMLINKS
|
||||
| ARCHIVE_EXTRACT_SECURE_NODOTDOT;
|
||||
|
||||
|
|
Loading…
Reference in a new issue