summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-10-15 02:48:11 +0200
committertv <tv@shackspace.de>2015-10-15 02:48:11 +0200
commit338df3310352163d3cce850e6ff461c2cdf58eb5 (patch)
treeed4888e5b0b948a7b0600cc00159a1d4ca822d21
parent7eb564d0eff22226a2e9955a3c239d1a770bde93 (diff)
make eval: provide stockholm via -I
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 552e6e0fd..8834cb7c8 100644
--- a/Makefile
+++ b/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" \