libgweather: Fix darwin build
https://hydra.nixos.org/build/243158351/nixlog/1
This commit is contained in:
parent
85f0144502
commit
91fd5cfa79
1 changed files with 2 additions and 0 deletions
|
@ -65,6 +65,8 @@ stdenv.mkDerivation rec {
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Dzoneinfo_dir=${tzdata}/share/zoneinfo"
|
"-Dzoneinfo_dir=${tzdata}/share/zoneinfo"
|
||||||
(lib.mesonBool "introspection" withIntrospection)
|
(lib.mesonBool "introspection" withIntrospection)
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
"-Dc_args=-D_DARWIN_C_SOURCE"
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
Loading…
Reference in a new issue