diff --git a/pkgs/by-name/no/notion/package.nix b/pkgs/by-name/no/notion/package.nix index 7d52d18312b3..b53dcd200445 100644 --- a/pkgs/by-name/no/notion/package.nix +++ b/pkgs/by-name/no/notion/package.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, + fetchpatch2, fontconfig, gettext, groff, @@ -30,6 +31,14 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-L7WL8zn1Qkf5sqrhqZJqFe4B1l9ULXI3pt3Jpc87huk="; }; + patches = [ + # GCC 15 fix + (fetchpatch2 { + url = "https://github.com/raboof/notion/commit/89c92f49abfeae1168ad343d4f529a52d0edd78c.patch?full_index=1"; + hash = "sha256-+4GGeY2j7B54Ffw5gFNpG4704Egc7rA6w5z0sZG8210="; + }) + ]; + nativeBuildInputs = [ gettext groff