summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-02-10 09:30:37 +0100
committertv <tv@krebsco.de>2017-02-10 09:30:43 +0100
commitb170e01ec8e5427d39a71a760b5252de532459a9 (patch)
tree0b7bee00e1434125e0ad30814e784a100e891cb8 /krebs
parente78a8c0725cbcf3179d63f8f94ca77e7ccb345d8 (diff)
writeJq: -n isn't the same as < /dev/null
Diffstat (limited to 'krebs')
-rw-r--r--krebs/5pkgs/writers.nix2
1 files changed, 1 insertions, 1 deletions
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 <stockholm/lib>;
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;
};