xdg-autostart: fix runCommandNoCCLocal deprecation (#6880)

This commit is contained in:
Benedikt M. Rips
2025-04-22 16:05:27 +02:00
committed by GitHub
parent ce8dc1f77a
commit cf0c5e0105

View File

@@ -5,12 +5,6 @@
...
}:
let
inherit (builtins)
baseNameOf
listToAttrs
map
unsafeDiscardStringContext
;
inherit (lib)
literalExpression
mkEnableOption
@@ -21,7 +15,7 @@ let
cfg = config.xdg.autostart;
linkedDesktopEntries = pkgs.runCommandNoCCLocal "xdg-autostart-entries" { } ''
linkedDesktopEntries = pkgs.runCommandLocal "xdg-autostart-entries" { } ''
mkdir -p $out
${lib.concatMapStringsSep "\n" (e: "ln -s ${e} $out") cfg.entries}
'';