diff options
author | lassulus <lassulus@lassul.us> | 2022-11-22 00:02:32 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-11-22 00:02:32 +0100 |
commit | 336caf2832d97892bd27a90881121740d57b3906 (patch) | |
tree | 85a00125f3e8ec4fc8ef37f685eccbf0bc214b36 /krebs/5pkgs/simple | |
parent | 43e65c94a13d276798d15c1fc97a69467dd67820 (diff) |
weechat-declarative: copy writable file into $CONFDIR
Diffstat (limited to 'krebs/5pkgs/simple')
-rw-r--r-- | krebs/5pkgs/simple/weechat-declarative/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/krebs/5pkgs/simple/weechat-declarative/default.nix b/krebs/5pkgs/simple/weechat-declarative/default.nix index 7b057d41b..93c73761c 100644 --- a/krebs/5pkgs/simple/weechat-declarative/default.nix +++ b/krebs/5pkgs/simple/weechat-declarative/default.nix @@ -148,7 +148,8 @@ let ${lib.concatStringsSep "\n" (lib.mapAttrsToList (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 ) |