Merge branch 'staging/make-fix'
This commit is contained in:
commit
06f2f92476
8
Makefile
8
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
|
||||
|
|
|
@ -102,7 +102,7 @@ prepare_nixos_iso() {
|
|||
mkdir -p bin
|
||||
rm -f bin/nixos-install
|
||||
cp "$(type -p nixos-install)" bin/nixos-install
|
||||
sed -i "s@^NIX_PATH=\"[^\"]*\"@NIX_PATH=$target_path@" bin/nixos-install
|
||||
sed -i "s@NIX_PATH=\"[^\"]*\"@NIX_PATH=$target_path@" bin/nixos-install
|
||||
}
|
||||
|
||||
get_nixos_install() {
|
||||
|
|
Loading…
Reference in a new issue