diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-02-10 01:21:02 +0100 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-02-10 01:21:02 +0100 |
commit | 16c7c1a4d895649652c1e543dd21f3a073e3daef (patch) | |
tree | e61c73cd3abdacf45609283921f5cb28022728b5 /pkgs/applications/misc/health | |
parent | 9a113b42b3b15eafa91a027bd9fb9fd69fa6ed96 (diff) |
health: fix build on darwin
Diffstat (limited to 'pkgs/applications/misc/health')
-rw-r--r-- | pkgs/applications/misc/health/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/misc/health/default.nix b/pkgs/applications/misc/health/default.nix index 951bea87e8a12..776f2cf20e2ac 100644 --- a/pkgs/applications/misc/health/default.nix +++ b/pkgs/applications/misc/health/default.nix @@ -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"; |