evince: fix build with gcc15 (#467386)

This commit is contained in:
Aleksana
2025-12-06 13:35:34 +00:00
committed by GitHub
+6
View File
@@ -120,6 +120,12 @@ stdenv.mkDerivation (finalAttrs: {
"-Dmultimedia=disabled"
];
# Fix build with gcc15
env.NIX_CFLAGS_COMPILE = toString [
"-DHAVE_STRING_H"
"-DHAVE_STDLIB_H"
];
preFixup = ''
gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : "${shared-mime-info}/share")
'';