diff options
author | tv <tv@krebsco.de> | 2016-03-10 12:41:24 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-03-10 12:41:24 +0100 |
commit | 5cabee62cdef212cf4088d934b92a3b14e947e02 (patch) | |
tree | 63545a42c66a5cc6a9ff41ad7930afde2e085e99 | |
parent | 37ff2437476bf8752643f3735ed3f2b19dbddb40 (diff) |
Makefile: define nixos-config using ?=
-rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -9,10 +9,9 @@ export STOCKHOLM_VERSION ?= $(shell \ printf '%s' "$$date.$$version"; \ ) -ifndef nixos-config $(if $(system),,$(error unbound variable: system)) -nixos-config = ./$(LOGNAME)/1systems/$(system).nix -endif + +nixos-config ?= $(stockholm)/$(LOGNAME)/1systems/$(system).nix # target = [target_user@]target_host[:target_port][/target_path] ifdef target |