emblem: fix build on darwin

This commit is contained in:
Weijia Wang 2024-06-24 00:39:41 +02:00
parent cdff8ddb0b
commit 873346871d

View File

@ -53,6 +53,10 @@ stdenv.mkDerivation rec {
darwin.apple_sdk.frameworks.Foundation
];
env.NIX_CFLAGS_COMPILE = toString (lib.optionals stdenv.isDarwin [
"-Wno-error=incompatible-function-pointer-types"
]);
meta = {
description = "Generate project icons and avatars from a symbolic icon";
mainProgram = "emblem";