skhd: silence implicit-function-declaration warning on Darwin

This commit is contained in:
fortuneteller2k 2023-11-17 17:42:34 +08:00
parent f0e5556c62
commit 740d990ce7

View file

@ -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