make build -> make pkgs
This commit is contained in:
parent
0bc55750cf
commit
a428b4dcbb
8
Makefile
8
Makefile
@ -57,7 +57,7 @@ build = \
|
|||||||
--show-trace \
|
--show-trace \
|
||||||
-I nixos-config=$(nixos-config) \
|
-I nixos-config=$(nixos-config) \
|
||||||
-I stockholm=$(stockholm) \
|
-I stockholm=$(stockholm) \
|
||||||
-E "let build = import <stockholm>; in $(1)"
|
-E "with import <stockholm>; $(1)"
|
||||||
|
|
||||||
evaluate = \
|
evaluate = \
|
||||||
nix-instantiate \
|
nix-instantiate \
|
||||||
@ -89,9 +89,9 @@ populate:
|
|||||||
$(target_user)@$(target_host):$(target_port)$(target_path) \
|
$(target_user)@$(target_host):$(target_port)$(target_path) \
|
||||||
$(populate-flags)
|
$(populate-flags)
|
||||||
|
|
||||||
# usage: make build.pkgs.get
|
# usage: make pkgs.populate
|
||||||
build build.:;@$(call build,$${expr-eval})
|
pkgs:;@$(error no package selected)
|
||||||
build.%:;@$(call build,$@)
|
pkgs.%:;@$(call build,$@)
|
||||||
|
|
||||||
# usage: make LOGNAME=shared system=wolf eval.config.krebs.build.host.name
|
# usage: make LOGNAME=shared system=wolf eval.config.krebs.build.host.name
|
||||||
eval eval.:;@$(call evaluate,$${expr-eval})
|
eval eval.:;@$(call evaluate,$${expr-eval})
|
||||||
|
Loading…
Reference in New Issue
Block a user