mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
dbus: fix dbus-run-session command
Specifically, inform the command about the absolute path of dbus-daemon. Otherwise it will try running dbus-daemon from PATH, which may not always work. PR #3405
This commit is contained in:
parent
50c9bccb6a
commit
02c0546033
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ in {
|
|||
if [[ -v DBUS_SESSION_BUS_ADDRESS ]]; then
|
||||
export DCONF_DBUS_RUN_SESSION=""
|
||||
else
|
||||
export DCONF_DBUS_RUN_SESSION="${pkgs.dbus}/bin/dbus-run-session"
|
||||
export DCONF_DBUS_RUN_SESSION="${pkgs.dbus}/bin/dbus-run-session --dbus-daemon=${pkgs.dbus}/bin/dbus-daemon"
|
||||
fi
|
||||
|
||||
if [[ -v oldGenPath ]]; then
|
||||
|
|
Loading…
Reference in a new issue