oku: use system oniguruma and fix build with gcc15

This commit is contained in:
eljamm
2026-01-09 09:34:27 +01:00
parent 82ba0a3b91
commit 17a3ae7d07
+5
View File
@@ -9,6 +9,7 @@
gtk4,
hicolor-icon-theme,
libadwaita,
oniguruma,
pango,
webkitgtk_6_0,
nix-update-script,
@@ -45,10 +46,14 @@ rustPlatform.buildRustPackage (finalAttrs: {
gtk4
hicolor-icon-theme
libadwaita
oniguruma
pango
webkitgtk_6_0
];
# use system oniguruma since the bundled one fails to build with gcc15
env.RUSTONIG_SYSTEM_LIBONIG = 1;
# the program expects icons to be installed but the
# program does not install them itself
postInstall = ''