From d2bce03b21dbfa1d94a69c3cd77e60acc0f37a85 Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 20 May 2016 03:21:56 +0200 Subject: Makefile system: add default value --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index d382307..a74e3a8 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3