summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ef9130a..d074a3d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,20 @@
+SKIP_SERVICES = []
+
all:
- nix-build -A entrypoint --arg baseConfig '(import ./config.nix) // { staticProxyURL = ""; }'
+ nix-build -A entrypoint \
+ --arg baseConfig '(import ./config.nix)' \
+ --arg baseSkipServices '${SKIP_SERVICES}'
+
+run: all
+ ./result
all.prod:
- nix-build -A entrypoint --arg baseConfig '(import ./prod.config.nix)'
+ nix-build -A entrypoint \
+ --arg baseConfig '(import ./prod.config.nix)' \
+ --arg baseSkipServices '${SKIP_SERVICES}'
+
+run.prod: all.prod
+ ./result
install.prod:
nix-build -A install --arg baseConfig '(import ./prod.config.nix)'