about summary refs log tree commit diff
path: root/pkgs/desktops/xfce
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2021-12-03 14:52:49 +0800
committerBobby Rong <rjl931189261@126.com>2021-12-03 15:45:03 +0800
commitd9873afadf1b059749fcda020c2fcbcbad2f3573 (patch)
tree933111fafdb340ea9f3ce2b0afa97defbfbfe5e5 /pkgs/desktops/xfce
parent72eff72cf0f70cae0396ba434ce55f177d3b5c21 (diff)
downloadnixlib-d9873afadf1b059749fcda020c2fcbcbad2f3573.tar
nixlib-d9873afadf1b059749fcda020c2fcbcbad2f3573.tar.gz
nixlib-d9873afadf1b059749fcda020c2fcbcbad2f3573.tar.bz2
nixlib-d9873afadf1b059749fcda020c2fcbcbad2f3573.tar.lz
nixlib-d9873afadf1b059749fcda020c2fcbcbad2f3573.tar.xz
nixlib-d9873afadf1b059749fcda020c2fcbcbad2f3573.tar.zst
nixlib-d9873afadf1b059749fcda020c2fcbcbad2f3573.zip
xfce.xfce4-namebar-plugin: build with vala 0.40
Diffstat (limited to 'pkgs/desktops/xfce')
-rw-r--r--pkgs/desktops/xfce/panel-plugins/xfce4-namebar-plugin/default.nix10
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-namebar-plugin/default.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-namebar-plugin/default.nix
index baba34212fdc..0b67e9468294 100644
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-namebar-plugin/default.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-namebar-plugin/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, pkg-config, fetchFromGitHub, python3, vala_0_46
+{ lib, stdenv, pkg-config, fetchFromGitHub, python3, vala_0_40
 , gtk3, libwnck, libxfce4util, xfce4-panel, wafHook, xfce }:
 
 stdenv.mkDerivation rec {
@@ -12,7 +12,13 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-aKrJzf9rwCyXAJsRIXdBzmJBASuXD5I5kZrp+atx4FA=";
   };
 
-  nativeBuildInputs = [ pkg-config vala_0_46 wafHook python3 ];
+  # Does not build with vala 0.48 or later
+  # Upstream has no activity for a while
+  # libxfce4panel-2.0.vapi:92.3-92.41: error: overriding method `Xfce.PanelPlugin.remote_event' is incompatible
+  # with base method `bool Xfce.PanelPluginProvider.remote_event (string, GLib.Value, uint)': too few parameters.
+  #               public virtual signal bool remote_event (string name, GLib.Value value);
+  #               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  nativeBuildInputs = [ pkg-config vala_0_40 wafHook python3 ];
   buildInputs = [ gtk3 libwnck libxfce4util xfce4-panel ];
 
   postPatch = ''