about summary refs log tree commit diff
path: root/fun/defer_rs/examples
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2020-06-27T04·11+0200
committerProfpatsch <mail@profpatsch.de>2020-06-27T17·52+0000
commit3fd583d27c090a62717bf0887499830138c1dcbb (patch)
tree588731c042d56138d849d1ad91ba4b5a68fecb6e /fun/defer_rs/examples
parent22b8a49b87d2b86329add48e9af69ffd29ff6118 (diff)
feat(nix/writeExecline): add writeExecline r/1100
This is a writer, similar to `pkgs.writeBashScript` or
`pkgs.writers.writePython3`.

The difference is that we can correctly write all execline scripts by
using nix lists of lists, so the user doesn’t have to care about
escaping arguments (like they have to in bash scripts with
`lib.escapeShellArg` for example).

Change-Id: I2f2874cf61170ddca07b89b692f762725f4a75dc
Reviewed-on: https://cl.tvl.fyi/c/depot/+/625
Reviewed-by: Kane York <rikingcoding@gmail.com>
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'fun/defer_rs/examples')
0 files changed, 0 insertions, 0 deletions