Merge pull request #287621 from wegank/health-darwin

health: fix build on darwin
This commit is contained in:
Weijia Wang 2024-02-10 19:47:53 +01:00 committed by GitHub
commit 3f12e8f0e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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";