diff options
author | tv <tv@krebsco.de> | 2017-10-17 20:01:53 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2017-10-17 20:01:53 +0200 |
commit | a15736cbb0f23e74b47decc363a4cbf45850a0c4 (patch) | |
tree | 0c52b2d8cdc0caa27b040adcaf768eea2aef86cc /shell.nix | |
parent | 8b55369fa72e1b4b518a41cc221420910c924108 (diff) |
quote: init
Diffstat (limited to 'shell.nix')
-rw-r--r-- | shell.nix | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -143,18 +143,6 @@ let ''} ''); - # usage: quote [ARGS...] - cmds.quote = pkgs.writeDash "cmds.quote" '' - set -efu - prefix= - for x; do - y=$(${pkgs.jq}/bin/jq -nr --arg x "$x" '$x | @sh "\(.)"') - echo -n "$prefix$y" - prefix=' ' - done - echo - ''; - init.env = pkgs.writeText "init.env" /* sh */ '' export quiet export system @@ -243,6 +231,7 @@ in pkgs.stdenv.mkDerivation { fi export PATH=${lib.makeBinPath [ pkgs.populate + pkgs.quote shell.cmdspkg ]} |