summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-07-16 15:44:13 +0200
committerlassulus <lass@aidsballs.de>2015-07-16 15:47:28 +0200
commit939ab63ca29a77046c4b9c9f8fad0a808b3c4c07 (patch)
tree19f77644efcb13ccc0a4b567b9becedb0ed99b29 /Makefile
parentd629bee9546fa6ed6a018f2b6d491a851ad12738 (diff)
Makefile: use LOGNAME instead of tv
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f984e1c7b..b31eddd05 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
ifndef system
$(error unbound variable: system)
else
-include 0make/tv/$(system).makefile
+include 0make/$(LOGNAME)/$(system).makefile
.ONESHELL:
.SHELLFLAGS := -eufc
.PHONY: deploy
@@ -63,7 +63,7 @@ deploy:;@
prefetch /root/src/nixpkgs "$$nixpkgs_url" "$$nixpkgs_rev"
echo build system...
- NIXOS_CONFIG=/root/src/shitment/1systems/tv/$$system_name.nix \
+ NIXOS_CONFIG=/root/src/shitment/1systems/$(LOGNAME)/$$system_name.nix \
NIX_PATH=src \
nix-build -Q -A system '<nixpkgs/nixos>'