make eval: provide stockholm via -I

This commit is contained in:
tv 2015-10-15 02:48:11 +02:00
parent 7eb564d0ef
commit 338df33103

View File

@ -35,11 +35,11 @@ ifeq ($(filter),json)
else
filter() { cat; }
endif
NIX_PATH=stockholm=$$PWD:$$NIX_PATH \
nix-instantiate \
$${extraArgs-} \
--eval \
-A "$$get" \
-I stockholm="$$PWD" \
'<stockholm>' \
--argstr current-date "$$(date -Is)" \
--argstr current-host-name "$$HOSTNAME" \