summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-06-14 01:36:15 +0200
committermakefu <github@syntax-fehler.de>2016-06-14 01:36:15 +0200
commitc46fde89930b87bc80369635960b21de501853a9 (patch)
treedd4dc05f0d9f14ecc4fa5bd32c4e60b27af4b60f /Makefile
parent1b9529e45c71b82b70b2e26d9fc6cc627c65324c (diff)
parente3b026d459fde1ec84a335e975da0c61122487f3 (diff)
Merge remote-tracking branch 'cd/master'
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6e09559..aa5d5d8 100644
--- a/Makefile
+++ b/Makefile
@@ -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