From 9843e5378e70952b0a91545a5678cdd682e92036 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Wed, 29 Apr 2020 06:56:47 +0200 Subject: [PATCH] gtk3: fix version number in pkg-config file --- pkgs/development/libraries/gtk/3.x.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/libraries/gtk/3.x.nix b/pkgs/development/libraries/gtk/3.x.nix index a3fe432017c30..4d2eca680f1cf 100644 --- a/pkgs/development/libraries/gtk/3.x.nix +++ b/pkgs/development/libraries/gtk/3.x.nix @@ -73,6 +73,12 @@ stdenv.mkDerivation rec { # https://gitlab.gnome.org/GNOME/gtk/merge_requests/1002 ./patches/01-build-Fix-path-handling-in-pkgconfig.patch + + (fetchpatch { + name = "fix-version-in-meson-build.patch"; + url = "https://gitlab.gnome.org/GNOME/gtk/-/commit/bcf08abef0981456fd8400707431826e6473a63a.patch"; + sha256 = "0j3ggmi0bs0xilfk3xfm37q3ynpwgwm2shv7xjfyjgxd4r4z268n"; + }) ] ++ optionals stdenv.isDarwin [ # X11 module requires which is not installed on Darwin # let’s drop that dependency in similar way to how other parts of the library do it