summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-07-23 02:01:35 +0200
committertv <tv@krebsco.de>2017-07-23 02:01:35 +0200
commitd061da22d123030e651fda77ae8bccc5c1e373df (patch)
treea2979a1974f563a9840fbd94d32b65240181b9de
parent76edbf7f45e646039e95e6b7528fba9db824a9a0 (diff)
make populate: use get-source
-rw-r--r--Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index f258307..4258d91 100644
--- a/Makefile
+++ b/Makefile
@@ -102,13 +102,7 @@ ifneq ($(ssh),)
populate: populate-flags += --ssh=$(ssh)
endif
populate:
- nix-instantiate \
- --eval \
- --json \
- --readonly-mode \
- --show-trace \
- --strict \
- $(LOGNAME)/1systems/$(system)/source.nix | \
+ nix-shell --run 'get-source $(LOGNAME)/1systems/$(system)/source.nix' \
populate $(populate-target) $(populate-flags)
# usage: make pkgs.populate