1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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}
'';