networkmanager-openconnect: Move D-Bus conf file to share/dbus-1/system.d

Since D-Bus 1.9.18 configuration files installed by third-party should
go in share/dbus-1/system.d. The old location is for sysadmin overrides.
This commit is contained in:
worldofpeace 2019-09-15 23:39:14 -04:00
parent d2680d9fc7
commit 43e14dbdd2
1 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, substituteAll, openconnect, intltool, pkgconfig, autoreconfHook, networkmanager, gcr, libsecret, file
, gtk3, withGnome ? true, gnome3, kmod }:
, gtk3, withGnome ? true, gnome3, kmod, fetchpatch }:
let
pname = "NetworkManager-openconnect";
@ -17,6 +17,11 @@ in stdenv.mkDerivation {
src = ./fix-paths.patch;
inherit kmod openconnect;
})
# Don't use etc/dbus-1/system.d
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/NetworkManager-openconnect/merge_requests/9.patch";
sha256 = "0yd2dmq6gq6y4czr7dqdgaiqvw2vyv2gikznpfdxyfn2v1pcrk9m";
})
];
buildInputs = [ openconnect networkmanager ]