tzdata: fix build on mingw
tzdata 2025c added a few new flages we have to disable
This commit is contained in:
@@ -53,7 +53,12 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isWindows [
|
||||
"CFLAGS+=-DHAVE_DIRECT_H"
|
||||
"CFLAGS+=-DHAVE_FCHMOD=0"
|
||||
"CFLAGS+=-DHAVE_GETEUID=0"
|
||||
"CFLAGS+=-DHAVE_GETRESUID=0"
|
||||
"CFLAGS+=-DHAVE_MEMPCPY=1"
|
||||
"CFLAGS+=-DHAVE_SETENV=0"
|
||||
"CFLAGS+=-DHAVE_STRUCT_STAT_ST_CTIM=0"
|
||||
"CFLAGS+=-DHAVE_SYMLINK=0"
|
||||
"CFLAGS+=-DRESERVE_STD_EXT_IDS"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user