diff options
author | lassulus <lass@aidsballs.de> | 2015-07-16 15:44:13 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-07-16 15:47:28 +0200 |
commit | 939ab63ca29a77046c4b9c9f8fad0a808b3c4c07 (patch) | |
tree | 19f77644efcb13ccc0a4b567b9becedb0ed99b29 | |
parent | d629bee9546fa6ed6a018f2b6d491a851ad12738 (diff) |
Makefile: use LOGNAME instead of tv
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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>' |