health: fix build on darwin

This commit is contained in:
Weijia Wang 2024-02-10 01:21:02 +01:00
parent 9a113b42b3
commit 16c7c1a4d8

View File

@ -53,6 +53,10 @@ stdenv.mkDerivation rec {
darwin.apple_sdk.frameworks.Foundation
];
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.cc.isClang [
"-Wno-error=incompatible-function-pointer-types"
]);
meta = with lib; {
description = "A health tracking app for the GNOME desktop";
homepage = "https://apps.gnome.org/app/dev.Cogitri.Health";