diff options
author | tv <tv@krebsco.de> | 2016-07-17 00:52:21 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-07-17 00:53:21 +0200 |
commit | a428b4dcbb92ddd90f184f72a97ffdb300083e6e (patch) | |
tree | bfb8b0e6a9c6938296df4005e11f2639c147fdbe | |
parent | 0bc55750cfe132aaf7314a60dc26765766369aa6 (diff) |
make build -> make pkgs
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -57,7 +57,7 @@ build = \ --show-trace \ -I nixos-config=$(nixos-config) \ -I stockholm=$(stockholm) \ - -E "let build = import <stockholm>; in $(1)" + -E "with import <stockholm>; $(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}) |