xfce.xfce4-namebar-plugin: Specify vala_0_40

This commit is contained in:
Tor Hedin Brønner 2018-09-18 17:36:08 +02:00 committed by Jan Tojnar
parent 153f3f867b
commit 16f31fb8e4
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,4 +1,4 @@
{ stdenv, pkgconfig, fetchFromGitHub, python2, vala
{ stdenv, pkgconfig, fetchFromGitHub, python2, vala_0_40
, gtk2, libwnck, libxfce4util, xfce4-panel, wafHook }:
stdenv.mkDerivation rec {
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkgconfig wafHook ];
buildInputs = [ python2 vala gtk2 libwnck libxfce4util xfce4-panel ];
buildInputs = [ python2 vala_0_40 gtk2 libwnck libxfce4util xfce4-panel ];
postPatch = ''
substituteInPlace src/preferences.vala --replace 'Environment.get_system_data_dirs()' "{ \"$out/share\" }"