Makefile: use LOGNAME instead of tv
This commit is contained in:
parent
d629bee954
commit
939ab63ca2
4
Makefile
4
Makefile
|
@ -1,7 +1,7 @@
|
||||||
ifndef system
|
ifndef system
|
||||||
$(error unbound variable: system)
|
$(error unbound variable: system)
|
||||||
else
|
else
|
||||||
include 0make/tv/$(system).makefile
|
include 0make/$(LOGNAME)/$(system).makefile
|
||||||
.ONESHELL:
|
.ONESHELL:
|
||||||
.SHELLFLAGS := -eufc
|
.SHELLFLAGS := -eufc
|
||||||
.PHONY: deploy
|
.PHONY: deploy
|
||||||
|
@ -63,7 +63,7 @@ deploy:;@
|
||||||
prefetch /root/src/nixpkgs "$$nixpkgs_url" "$$nixpkgs_rev"
|
prefetch /root/src/nixpkgs "$$nixpkgs_url" "$$nixpkgs_rev"
|
||||||
|
|
||||||
echo build system...
|
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_PATH=src \
|
||||||
nix-build -Q -A system '<nixpkgs/nixos>'
|
nix-build -Q -A system '<nixpkgs/nixos>'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue