mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
systemd: use getExe for sd-switch
This commit is contained in:
@@ -337,7 +337,7 @@ in {
|
||||
else
|
||||
"";
|
||||
in ''
|
||||
${pkgs.sd-switch}/bin/sd-switch \
|
||||
${lib.getExe pkgs.sd-switch} \
|
||||
''${DRY_RUN:+--dry-run} $VERBOSE_ARG ${timeoutArg} \
|
||||
''${oldUnitsDir:+--old-units $oldUnitsDir} \
|
||||
--new-units "$newUnitsDir"
|
||||
|
||||
Reference in New Issue
Block a user