ma sane-extra: give output a name
This commit is contained in:
parent
90596407c9
commit
1e313018c3
@ -22,7 +22,7 @@ let
|
|||||||
${concatMapStrings (c: ''
|
${concatMapStrings (c: ''
|
||||||
f="$out/${c.name}.conf"
|
f="$out/${c.name}.conf"
|
||||||
[ ! -e "$f" ] || chmod +w "$f"
|
[ ! -e "$f" ] || chmod +w "$f"
|
||||||
cat ${builtins.toFile "" (c.value + "\n")} >>"$f"
|
cat ${builtins.toFile "outfile" (c.value + "\n")} >>"$f"
|
||||||
chmod -w "$f"
|
chmod -w "$f"
|
||||||
'') (mapAttrsToList nameValuePair cfg.extraConfig)}
|
'') (mapAttrsToList nameValuePair cfg.extraConfig)}
|
||||||
chmod -w $out
|
chmod -w $out
|
||||||
|
Loading…
Reference in New Issue
Block a user