ma sane-extra: give output a name

This commit is contained in:
makefu 2022-09-24 11:16:16 +02:00
parent 90596407c9
commit 1e313018c3
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -22,7 +22,7 @@ let
${concatMapStrings (c: ''
f="$out/${c.name}.conf"
[ ! -e "$f" ] || chmod +w "$f"
cat ${builtins.toFile "" (c.value + "\n")} >>"$f"
cat ${builtins.toFile "outfile" (c.value + "\n")} >>"$f"
chmod -w "$f"
'') (mapAttrsToList nameValuePair cfg.extraConfig)}
chmod -w $out