summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-07-20 19:32:41 +0200
committerlassulus <lassulus@lassul.us>2017-07-22 20:49:01 +0200
commita0208307ae1a8069559af39953569275a6d7ee6d (patch)
tree42c58566f2653c6ed72e260e6ab8f56860d8a9f2 /Makefile
parent9cb4a46b53a9ca5fe90d3166fa0f42a38a1732d6 (diff)
make install: repair by using source.nix
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0a9b4f29f..f25830789 100644
--- a/Makefile
+++ b/Makefile
@@ -102,7 +102,13 @@ ifneq ($(ssh),)
populate: populate-flags += --ssh=$(ssh)
endif
populate:
- $(call evaluate,config.krebs.build.source) --json --strict | \
+ nix-instantiate \
+ --eval \
+ --json \
+ --readonly-mode \
+ --show-trace \
+ --strict \
+ $(LOGNAME)/1systems/$(system)/source.nix | \
populate $(populate-target) $(populate-flags)
# usage: make pkgs.populate