mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
networkmanager-vpnc: 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:
parent
43e14dbdd2
commit
8d7adf0476
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, substituteAll, vpnc, intltool, pkgconfig, networkmanager, libsecret
|
||||
, gtk3, withGnome ? true, gnome3, kmod, file }:
|
||||
, gtk3, withGnome ? true, gnome3, kmod, file, fetchpatch }:
|
||||
let
|
||||
pname = "NetworkManager-vpnc";
|
||||
version = "1.2.6";
|
||||
@ -16,6 +16,11 @@ in stdenv.mkDerivation {
|
||||
src = ./fix-paths.patch;
|
||||
inherit vpnc kmod;
|
||||
})
|
||||
# Don't use etc/dbus-1/system.d
|
||||
(fetchpatch {
|
||||
url = "https://gitlab.gnome.org/GNOME/NetworkManager-vpnc/merge_requests/5.patch";
|
||||
sha256 = "0z0x5vqmrsap3ynamhya7gh6c6k5grhj2vqpy76alnv9xns8dzi6";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ vpnc networkmanager ]
|
||||
|
Loading…
Reference in New Issue
Block a user