1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-09-21 05:47:29 +02:00

xfconf: fix config loading

The `run` function export was removed in #4965. This broke the
expectation in this module that `run` would be available outside of
main activation script, as `$DRY_RUN_CMD` once was.

Fixes #4980
This commit is contained in:
Kylie McClain 2024-01-31 18:24:56 -05:00 committed by Mikilio
parent 9bddb0a89f
commit cf1b4dd2b7
No known key found for this signature in database
GPG key ID: 5B2F1A890CF33F3F

View file

@ -120,8 +120,10 @@ in {
(channel: properties: mapAttrsToList (mkCommand channel) properties)
cfg.settings;
load = pkgs.writeShellScript "load-xfconf"
(concatMapStrings concatStrings commands);
load = pkgs.writeShellScript "load-xfconf" ''
${config.lib.bash.initHomeManagerLib}
${concatMapStrings concatStrings commands}
'';
in ''
if [[ -v DBUS_SESSION_BUS_ADDRESS ]]; then
export DBUS_RUN_SESSION_CMD=""