Skip to content

Commit

Permalink
wpa_supplicant: Move D-Bus conf file to share/dbus-1/system.d
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
worldofpeace committed Sep 16, 2019
1 parent dd6e2f7 commit 40dda73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/os-specific/linux/wpa_supplicant/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ stdenv.mkDerivation rec {
mkdir -p $out/etc/dbus-1/system.d $out/share/dbus-1/system-services $out/etc/systemd/system
cp -v "dbus/"*service $out/share/dbus-1/system-services
sed -e "s@/sbin/wpa_supplicant@$out&@" -i "$out/share/dbus-1/system-services/"*
cp -v dbus/dbus-wpa_supplicant.conf $out/etc/dbus-1/system.d
cp -v dbus/dbus-wpa_supplicant.conf $out/share/dbus-1/system.d
cp -v "systemd/"*.service $out/etc/systemd/system
rm $out/share/man/man8/wpa_priv.8
install -Dm444 wpa_supplicant.conf $out/share/doc/wpa_supplicant/wpa_supplicant.conf.example
Expand Down

0 comments on commit 40dda73

Please sign in to comment.