mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-16 22:11:07 +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
|
let
|
||||||
inherit (builtins)
|
|
||||||
baseNameOf
|
|
||||||
listToAttrs
|
|
||||||
map
|
|
||||||
unsafeDiscardStringContext
|
|
||||||
;
|
|
||||||
inherit (lib)
|
inherit (lib)
|
||||||
literalExpression
|
literalExpression
|
||||||
mkEnableOption
|
mkEnableOption
|
||||||
|
|
@ -21,7 +15,7 @@ let
|
||||||
|
|
||||||
cfg = config.xdg.autostart;
|
cfg = config.xdg.autostart;
|
||||||
|
|
||||||
linkedDesktopEntries = pkgs.runCommandNoCCLocal "xdg-autostart-entries" { } ''
|
linkedDesktopEntries = pkgs.runCommandLocal "xdg-autostart-entries" { } ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
${lib.concatMapStringsSep "\n" (e: "ln -s ${e} $out") cfg.entries}
|
${lib.concatMapStringsSep "\n" (e: "ln -s ${e} $out") cfg.entries}
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue