mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
dccd1e9d05
- Use pname instead of name - Add patch for Darwin build
15 lines
505 B
Diff
15 lines
505 B
Diff
--- 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),
|
|
}
|
|
}
|