make eval: provide stockholm via -I
This commit is contained in:
parent
7eb564d0ef
commit
338df33103
2
Makefile
2
Makefile
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user