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:
|
||||
@
|
||||
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>' \
|
||||
|
Loading…
Reference in New Issue
Block a user