1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/filesystems/gocryptfs/fix-unix2syscall_darwin.go-build-failure.patch

15 lines
505 B
Diff
Raw Normal View History

--- a/internal/syscallcompat/unix2syscall_darwin.go
+++ b/internal/syscallcompat/unix2syscall_darwin.go
@@ -19,8 +19,8 @@ func Unix2syscall(u unix.Stat_t) syscall.Stat_t {
Size: u.Size,
Blksize: u.Blksize,
Blocks: u.Blocks,
- Atimespec: syscall.Timespec(u.Atimespec),
- Mtimespec: syscall.Timespec(u.Mtimespec),
- Ctimespec: syscall.Timespec(u.Ctimespec),
+ Atimespec: syscall.Timespec(u.Atim),
+ Mtimespec: syscall.Timespec(u.Mtim),
+ Ctimespec: syscall.Timespec(u.Ctim),
}
}