From ac05da41bd78c1d2f55e39da3fd84471ef4fe8f6 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Sat, 5 Sep 2020 17:59:24 -0400 Subject: [PATCH] pantheon.elementary-dock: fix double includedir in .pc --- pkgs/desktops/pantheon/apps/elementary-dock/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/desktops/pantheon/apps/elementary-dock/default.nix b/pkgs/desktops/pantheon/apps/elementary-dock/default.nix index 1e3db99bab5..7cc34f8c82c 100644 --- a/pkgs/desktops/pantheon/apps/elementary-dock/default.nix +++ b/pkgs/desktops/pantheon/apps/elementary-dock/default.nix @@ -1,5 +1,6 @@ { stdenv , fetchFromGitHub +, fetchpatch , vala , atk , cairo @@ -40,6 +41,14 @@ stdenv.mkDerivation rec { sha256 = "01vinik73s0vmk56samgf49zr2bl4wjv44x15sz2cmh744llckja"; }; + patches = [ + # Fix double includedir path in plank.pc + (fetchpatch { + url = "https://github.com/elementary/dock/commit/3bc368e2c4fafcd5b8baca2711c773b0e2441c7c.patch"; + sha256 = "0gg35phi1cg7ixljc388i0h70w323r1gqzjhanccnsbjpqsgvs3k"; + }) + ]; + nativeBuildInputs = [ gettext meson