Makefile system: add default value

This commit is contained in:
tv 2016-05-20 03:21:56 +02:00
parent 47a9308fc9
commit 8014be4f2e

View file

@ -9,6 +9,7 @@ export STOCKHOLM_VERSION ?= $(shell \
printf '%s' "$$date.$$version"; \
)
system ?= $(HOSTNAME)
$(if $(system),,$(error unbound variable: system))
nixos-config ?= $(stockholm)/$(LOGNAME)/1systems/$(system).nix