font-manager: fix build with newer vala

This commit is contained in:
éclairevoyant 2024-05-05 11:03:26 -04:00
parent 8c429107e9
commit 9c4bbf09fb
No known key found for this signature in database
GPG key ID: E3813AEAA02DB54B

View file

@ -16,6 +16,7 @@
, gtk3
, gnome
, desktop-file-utils
, fetchpatch2
, wrapGAppsHook3
, gobject-introspection
# withWebkit enables the "webkit" feature, also known as Google Fonts
@ -33,6 +34,16 @@ stdenv.mkDerivation rec {
hash = "sha256-M13Q9d2cKhc0tudkvw0zgqPAFTlmXwK+LltXeuDPWxo=";
};
patches = [
# see https://github.com/FontManager/font-manager/issues/355
# should be removed on next release
(fetchpatch2 {
name = "fix-build-with-newer-vala.patch";
url = "https://github.com/FontManager/font-manager/commit/600f498946c3904064b4e4fdf96e5841f6a827e4.patch";
hash = "sha256-DC9+pvG88t+PPdGQ2oemeEYK9PaD0C2yWBYYCh4Wn9g=";
})
];
nativeBuildInputs = [
pkg-config
meson