make eval: don't use $json anymore
This commit is contained in:
parent
a385b9a4ec
commit
662f22a1dd
4
Makefile
4
Makefile
@ -25,7 +25,7 @@ deploy:;@
|
|||||||
eval:
|
eval:
|
||||||
@
|
@
|
||||||
ifeq ($(filter),json)
|
ifeq ($(filter),json)
|
||||||
extraArgs=--json
|
extraArgs='--json --strict'
|
||||||
filter() { jq -r .; }
|
filter() { jq -r .; }
|
||||||
else
|
else
|
||||||
filter() { cat; }
|
filter() { cat; }
|
||||||
@ -33,8 +33,6 @@ endif
|
|||||||
NIX_PATH=stockholm=$$PWD:$$NIX_PATH \
|
NIX_PATH=stockholm=$$PWD:$$NIX_PATH \
|
||||||
nix-instantiate \
|
nix-instantiate \
|
||||||
$${extraArgs-} \
|
$${extraArgs-} \
|
||||||
$${json+--json} \
|
|
||||||
$${json+--strict} \
|
|
||||||
--eval \
|
--eval \
|
||||||
-A "$$get" \
|
-A "$$get" \
|
||||||
'<stockholm>' \
|
'<stockholm>' \
|
||||||
|
Loading…
Reference in New Issue
Block a user