diff --git a/pkgs/by-name/rn/rnote/package.nix b/pkgs/by-name/rn/rnote/package.nix index e2c569131ee2..531ff2066156 100644 --- a/pkgs/by-name/rn/rnote/package.nix +++ b/pkgs/by-name/rn/rnote/package.nix @@ -22,7 +22,6 @@ , rustc , shared-mime-info , wrapGAppsHook4 -, darwin }: stdenv.mkDerivation rec { @@ -77,8 +76,6 @@ stdenv.mkDerivation rec { poppler ] ++ lib.optionals stdenv.hostPlatform.isLinux [ alsa-lib - ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ - darwin.apple_sdk.frameworks.AudioUnit ]; postPatch = '' @@ -86,6 +83,10 @@ stdenv.mkDerivation rec { patchShebangs build-aux ''; + env = lib.optionalAttrs stdenv.cc.isClang { + NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-function-pointer-types"; + }; + meta = with lib; { homepage = "https://github.com/flxzt/rnote"; changelog = "https://github.com/flxzt/rnote/releases/tag/${src.rev}"; @@ -93,7 +94,5 @@ stdenv.mkDerivation rec { license = licenses.gpl3Plus; maintainers = with maintainers; [ dotlambda gepbird yrd ]; platforms = platforms.unix; - # compiler error since 2023-11-17 - broken = stdenv.hostPlatform.isDarwin; }; }