summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-07-17 00:52:21 +0200
committertv <tv@krebsco.de>2016-07-17 00:53:21 +0200
commita1a9a3a500aa70cf8ee1ef91ed701044058d9d3f (patch)
tree873b38647b5dcef088e2eca3dd39c72841a6a2fa /Makefile
parent7e1883d9bbcb0f569bf8e902d7be2ef7ed447f85 (diff)
make build -> make pkgs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 064cba4..510d7b5 100644
--- a/Makefile
+++ b/Makefile
@@ -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})