Makefile system: add default value
This commit is contained in:
parent
47a9308fc9
commit
8014be4f2e
1
Makefile
1
Makefile
|
@ -9,6 +9,7 @@ export STOCKHOLM_VERSION ?= $(shell \
|
||||||
printf '%s' "$$date.$$version"; \
|
printf '%s' "$$date.$$version"; \
|
||||||
)
|
)
|
||||||
|
|
||||||
|
system ?= $(HOSTNAME)
|
||||||
$(if $(system),,$(error unbound variable: system))
|
$(if $(system),,$(error unbound variable: system))
|
||||||
|
|
||||||
nixos-config ?= $(stockholm)/$(LOGNAME)/1systems/$(system).nix
|
nixos-config ?= $(stockholm)/$(LOGNAME)/1systems/$(system).nix
|
||||||
|
|
Loading…
Reference in a new issue