From a428b4dcbb92ddd90f184f72a97ffdb300083e6e Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 17 Jul 2016 00:52:21 +0200 Subject: make build -> make pkgs --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 064cba484..510d7b5c9 100644 --- a/Makefile +++ b/Makefile @@ -57,7 +57,7 @@ build = \ --show-trace \ -I nixos-config=$(nixos-config) \ -I stockholm=$(stockholm) \ - -E "let build = import ; in $(1)" + -E "with import ; $(1)" evaluate = \ nix-instantiate \ @@ -89,9 +89,9 @@ populate: $(target_user)@$(target_host):$(target_port)$(target_path) \ $(populate-flags) -# usage: make build.pkgs.get -build build.:;@$(call build,$${expr-eval}) -build.%:;@$(call build,$@) +# usage: make pkgs.populate +pkgs:;@$(error no package selected) +pkgs.%:;@$(call build,$@) # usage: make LOGNAME=shared system=wolf eval.config.krebs.build.host.name eval eval.:;@$(call evaluate,$${expr-eval}) -- cgit v1.2.3