diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2019-10-10 10:49:20 -0400 |
---|---|---|
committer | worldofpeace <worldofpeace@protonmail.ch> | 2019-10-10 10:49:20 -0400 |
commit | b9b1d9b6202850372d8e671c562415f4213c1817 (patch) | |
tree | aa1b687cf510ea473c10742a64316133ec5cb605 /pkgs/desktops | |
parent | 8b957f83593a446103e11c863591d53a8762cea3 (diff) |
pantheon.switchboard-plug-sharing: fix build
Diffstat (limited to 'pkgs/desktops')
-rw-r--r-- | pkgs/desktops/pantheon/apps/switchboard-plugs/sharing/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/sharing/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/sharing/default.nix index 87ae233916d8d..57e7fe6af4412 100644 --- a/pkgs/desktops/pantheon/apps/switchboard-plugs/sharing/default.nix +++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/sharing/default.nix @@ -1,5 +1,6 @@ { stdenv , fetchFromGitHub +, fetchpatch , pantheon , meson , ninja @@ -42,6 +43,14 @@ stdenv.mkDerivation rec { switchboard ]; + patches = [ + # Fix build with latest vala + (fetchpatch { + url = "https://github.com/elementary/switchboard-plug-sharing/commit/22c9d52577a2e8c36c840a99009420266a39e1fe.patch"; + sha256 = "0rbf1yxhc7k44cwikd45mv2g6slzw0rkwn5s38q3yxai9jnpvqch"; + }) + ]; + PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard"; meta = with stdenv.lib; { |