mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 07:04:17 +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
|
else
|
||||||
"";
|
"";
|
||||||
in ''
|
in ''
|
||||||
${pkgs.sd-switch}/bin/sd-switch \
|
${lib.getExe pkgs.sd-switch} \
|
||||||
''${DRY_RUN:+--dry-run} $VERBOSE_ARG ${timeoutArg} \
|
''${DRY_RUN:+--dry-run} $VERBOSE_ARG ${timeoutArg} \
|
||||||
''${oldUnitsDir:+--old-units $oldUnitsDir} \
|
''${oldUnitsDir:+--old-units $oldUnitsDir} \
|
||||||
--new-units "$newUnitsDir"
|
--new-units "$newUnitsDir"
|
||||||
|
|
Loading…
Reference in a new issue