diff options
author | tv <tv@krebsco.de> | 2016-06-13 17:27:46 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-06-13 17:27:46 +0200 |
commit | 5bc3fa88543cdf3aa5b9103f7423a2af490b3d08 (patch) | |
tree | a7a2b29febeae39a5512f3e40d6a0ad003d466d8 /Makefile | |
parent | 2dd4dbbf6ea77972c7d5edb0ec25b8e778bfeb50 (diff) |
Makefile: assert existence of $(nixos-config)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -13,6 +13,9 @@ system ?= $(HOSTNAME) $(if $(system),,$(error unbound variable: system)) nixos-config ?= $(stockholm)/$(LOGNAME)/1systems/$(system).nix +ifneq ($(words $(wildcard $(nixos-config))),1) +$(error bad nixos-config: $(nixos-config)) +endif # target = [target_user@]target_host[:target_port][/target_path] ifdef target |