make install: repair by using source.nix

This commit is contained in:
lassulus 2017-07-20 19:32:41 +02:00
parent 9cb4a46b53
commit a0208307ae

View File

@ -102,7 +102,13 @@ ifneq ($(ssh),)
populate: populate-flags += --ssh=$(ssh) populate: populate-flags += --ssh=$(ssh)
endif endif
populate: 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) populate $(populate-target) $(populate-flags)
# usage: make pkgs.populate # usage: make pkgs.populate