From 211d07047f1ec429e0ee8e0cd7d2ddf1403b1d33 Mon Sep 17 00:00:00 2001 From: Michael Daniels Date: Mon, 19 Jan 2026 19:17:42 -0500 Subject: [PATCH] notion: fix build with GCC 15 Fixes: #481398 Tracking: #475479 --- pkgs/by-name/no/notion/package.nix | 9 +++++++++ 1 file changed, 9 insertions(+) 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