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 | 17be0772c5cfcb57f99299ad541b76dfabf8a62d (patch) | |
tree | 318ce8bf141c0bd9d18fcf7fe93ccfdd654d869e /Makefile | |
parent | e58921e546e68366f2b294a01ab1afa262ab8b95 (diff) |
Makefile: define nixos-config using ?=
Diffstat (limited to 'Makefile')
-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 |