mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 11:36:05 +01:00
xdg-autostart: fix runCommandNoCCLocal deprecation (#6880)
This commit is contained in:
parent
ce8dc1f77a
commit
cf0c5e0105
1 changed files with 1 additions and 7 deletions
|
|
@ -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}
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue