1
0
Fork 0
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:
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
"";
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"