make test using nix-build
This commit is contained in:
parent
439f913348
commit
18ac722ee6
7
Makefile
7
Makefile
@ -73,3 +73,10 @@ install:
|
||||
$(ssh) $(target_user)@$(target_host) -p $(target_port) \
|
||||
env NIXOS_CONFIG=$(target_path)/nixos-config \
|
||||
nixos-install
|
||||
|
||||
# usage: make test system=foo [target=bar]
|
||||
test:
|
||||
$(call execute,populate)
|
||||
ssh $(target_user)@$(target_host) -p $(target_port) \
|
||||
nix-build --no-out-link --show-trace -I $(target_path) \
|
||||
-A config.system.build.toplevel $(target_path)/stockholm
|
||||
|
Loading…
Reference in New Issue
Block a user