weechat-declarative: copy writable file into $CONFDIR
This commit is contained in:
parent
43e65c94a1
commit
336caf2832
@ -148,7 +148,8 @@ let
|
|||||||
${lib.concatStringsSep "\n"
|
${lib.concatStringsSep "\n"
|
||||||
(lib.mapAttrsToList
|
(lib.mapAttrsToList
|
||||||
(name: target: /* sh */ ''
|
(name: target: /* sh */ ''
|
||||||
${pkgs.coreutils}/bin/ln -s ${lib.escapeShellArg target} "$CONFDIR"/${lib.escapeShellArg name}
|
${pkgs.coreutils}/bin/cp ${lib.escapeShellArg target} "$CONFDIR"/${lib.escapeShellArg name}
|
||||||
|
${pkgs.coreutils}/bin/chmod +w "$CONFDIR"/${lib.escapeShellArg name}
|
||||||
'')
|
'')
|
||||||
cfg.files
|
cfg.files
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user