notion: fix build with GCC 15 (#481806)

This commit is contained in:
Arnout Engelen
2026-01-25 09:52:25 +00:00
committed by GitHub
+9
View File
@@ -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