From b170e01ec8e5427d39a71a760b5252de532459a9 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 10 Feb 2017 09:30:37 +0100 Subject: writeJq: -n isn't the same as < /dev/null --- krebs/5pkgs/writers.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'krebs/5pkgs') diff --git a/krebs/5pkgs/writers.nix b/krebs/5pkgs/writers.nix index fe8fe5d72..65ee14485 100644 --- a/krebs/5pkgs/writers.nix +++ b/krebs/5pkgs/writers.nix @@ -257,7 +257,7 @@ with import ; pkgs.writeOut (baseNameOf name) { ${optionalString (types.absolute-pathname.check name) name} = { check = pkgs.writeDash "jqcheck.sh" '' - exec ${pkgs.jq}/bin/jq -f "$1" -n + exec ${pkgs.jq}/bin/jq -f "$1" < /dev/null ''; inherit text; }; -- cgit v1.2.3