From a15736cbb0f23e74b47decc363a4cbf45850a0c4 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 17 Oct 2017 20:01:53 +0200 Subject: quote: init --- shell.nix | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix index c9b197a26..6448c1586 100644 --- a/shell.nix +++ b/shell.nix @@ -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 ]} -- cgit v1.2.3 [cgit] Unable to lock slot /tmp/cgit/0d300000.lock: No such file or directory (2)