summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-08-05 15:24:50 +0200
committertv <tv@krebsco.de>2015-08-05 15:24:50 +0200
commita3a82eb3e0171a60c59ddbd1b276b03ccef54f72 (patch)
tree52a0b837b60571e64a5dff7f86b88f955b76bd4a /Makefile
parent8549987eef609d754634cc9347921230fcd7df98 (diff)
make eval: don't use $json anymore
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ca828fd..54656e9 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ deploy:;@
eval:
@
ifeq ($(filter),json)
- extraArgs=--json
+ extraArgs='--json --strict'
filter() { jq -r .; }
else
filter() { cat; }
@@ -33,8 +33,6 @@ endif
NIX_PATH=stockholm=$$PWD:$$NIX_PATH \
nix-instantiate \
$${extraArgs-} \
- $${json+--json} \
- $${json+--strict} \
--eval \
-A "$$get" \
'<stockholm>' \