From 939ab63ca29a77046c4b9c9f8fad0a808b3c4c07 Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 16 Jul 2015 15:44:13 +0200 Subject: Makefile: use LOGNAME instead of tv --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f984e1c7..b31eddd0 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 '' -- cgit v1.2.3