1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-26 21:19:45 +01:00

systemd: use getExe for sd-switch

This commit is contained in:
Robert Helgesson 2024-09-12 13:43:29 +02:00
parent e1c6094075
commit da8406a6ff
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

@ -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"