Makefile : Fix vm target.
This commit is contained in:
parent
bdda7f8ab8
commit
4f81f18295
3
Makefile
3
Makefile
|
@ -1,5 +1,6 @@
|
||||||
options = --option eval-cache false --fallback
|
options = --option eval-cache false --fallback
|
||||||
flake = .
|
flake = .
|
||||||
|
hostname = $(shell hostname)
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@printf "Please specify a target.\n"
|
@printf "Please specify a target.\n"
|
||||||
|
@ -68,4 +69,4 @@ verify:
|
||||||
|
|
||||||
# Untested.
|
# Untested.
|
||||||
vm:
|
vm:
|
||||||
nix run $(options) $(flake)#nixosConfigurations.${nixosConfig.networking.hostName}.config.system.build.vm
|
nix run $(options) $(flake)#nixosConfigurations.$(hostname).config.system.build.vm
|
||||||
|
|
Loading…
Reference in a new issue