diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-11-17 21:45:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-17 21:45:23 +0100 |
commit | fb92c52539c78d6fff0ae8e6a2e9bf8b22704453 (patch) | |
tree | 2829eb4e7080d09874c387692c40102396f49ea3 | |
parent | 45846876f3dfca8171a27eaa71e3950e5a23bdd9 (diff) | |
parent | 740d990ce774872d9280bc4850da67a1c9b4d83c (diff) |
Merge pull request #268071 from moni-dz/skhd-_nspath
skhd: silence implicit-function-declaration warning on Darwin
-rw-r--r-- | pkgs/os-specific/darwin/skhd/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/os-specific/darwin/skhd/default.nix b/pkgs/os-specific/darwin/skhd/default.nix index fa6e1aa01e9f4..f979f7ec020e7 100644 --- a/pkgs/os-specific/darwin/skhd/default.nix +++ b/pkgs/os-specific/darwin/skhd/default.nix @@ -26,6 +26,8 @@ stdenv.mkDerivation (finalAttrs: { "BUILD_PATH=$(out)/bin" ]; + env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration"; + postInstall = '' mkdir -p $out/Library/LaunchDaemons cp ${./org.nixos.skhd.plist} $out/Library/LaunchDaemons/org.nixos.skhd.plist |