networkmanagerapplet: fix VPN plugins path. Closes #7908

This commit is contained in:
Luca Bruno 2015-05-20 11:57:15 +00:00
parent 8ed3ab50ea
commit 404608478d

View File

@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
sha256 = "0liia390bhkl09lvk2rplcwhmfbxpjffa1xszfawc0h00v9fivaz"; sha256 = "0liia390bhkl09lvk2rplcwhmfbxpjffa1xszfawc0h00v9fivaz";
}; };
configureFlags = [ "--sysconfdir=/etc" ];
buildInputs = [ buildInputs = [
gnome3.gtk libglade networkmanager libnotify libsecret dbus_glib gsettings_desktop_schemas gnome3.gtk libglade networkmanager libnotify libsecret dbus_glib gsettings_desktop_schemas
polkit isocodes makeWrapper udev gnome3.gconf gnome3.libgnome_keyring polkit isocodes makeWrapper udev gnome3.gconf gnome3.libgnome_keyring
@ -30,6 +32,11 @@ stdenv.mkDerivation rec {
''CFLAGS=-DMOBILE_BROADBAND_PROVIDER_INFO=\"${mobile_broadband_provider_info}/share/mobile-broadband-provider-info/serviceproviders.xml\"'' ''CFLAGS=-DMOBILE_BROADBAND_PROVIDER_INFO=\"${mobile_broadband_provider_info}/share/mobile-broadband-provider-info/serviceproviders.xml\"''
]; ];
preInstall =
''
installFlagsArray=( "sysconfdir=$out/etc" )
'';
preFixup = '' preFixup = ''
wrapProgram "$out/bin/nm-applet" \ wrapProgram "$out/bin/nm-applet" \
--prefix GIO_EXTRA_MODULES : "${glib_networking}/lib/gio/modules:${gnome3.dconf}/lib/gio/modules" \ --prefix GIO_EXTRA_MODULES : "${glib_networking}/lib/gio/modules:${gnome3.dconf}/lib/gio/modules" \