mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
systemd: use getExe for sd-switch
This commit is contained in:
parent
e1c6094075
commit
da8406a6ff
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue