diff --git a/pkgs/development/tools/misc/d-feet/default.nix b/pkgs/development/tools/misc/d-feet/default.nix index 3db895f4de01..a394ee615773 100644 --- a/pkgs/development/tools/misc/d-feet/default.nix +++ b/pkgs/development/tools/misc/d-feet/default.nix @@ -1,6 +1,7 @@ { lib , pkg-config , fetchurl +, fetchpatch , meson , ninja , glib @@ -25,6 +26,17 @@ python3.pkgs.buildPythonApplication rec { sha256 = "hzPOS5qaVOwYWx2Fv02p2dEQUogqiAdg/2D5d5stHMs="; }; + patches = [ + # Fix build with meson 0.61 + # data/meson.build:15:0: ERROR: Function does not take positional arguments. + # data/meson.build:27:0: ERROR: Function does not take positional arguments. + # Patch taken from https://gitlab.gnome.org/GNOME/d-feet/-/merge_requests/32 + (fetchpatch { + url = "https://gitlab.gnome.org/GNOME/d-feet/-/commit/05465d486afdba116dbc22fc22c1e6573aea4f22.patch"; + sha256 = "sFI3nd0YE/deGws/YcTpzC/em9QNgicyb4j7cTfOdhY="; + }) + ]; + nativeBuildInputs = [ gettext gobject-introspection