aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-16 09:43:31 -0300
committerEuAndreh <eu@euandre.org>2023-03-16 09:54:18 -0300
commitfbb6b500ea981b3fe7603288f0496cc3333245bf (patch)
tree7316b708ab760148b9c798f906a582a79032800d /Makefile
parentqueue.scm: Use mkdir-p/perms vs mkdir-p+chown+chmod (diff)
downloadpackage-repository-fbb6b500ea981b3fe7603288f0496cc3333245bf.tar.gz
package-repository-fbb6b500ea981b3fe7603288f0496cc3333245bf.tar.xz
queue.scm: Split postfix-service-type into {local,internet}-postfix-service-type
Also add those to `Makefile` as separate targets. BONUS: better naming of Guix targets in `Makefile`. Instead of `all-{packages,services}`, it is now `guix-{packages,services}`, as there are other packages being built that do not belong to Guix, and maybe more services in the future.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 13 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 31686c0..9cdb2db 100644
--- a/Makefile
+++ b/Makefile
@@ -4,18 +4,24 @@
all: EuAndreh.key guix nix
-guix: all-packages all-services
+guix: guix-packages guix-services
-nix:
- nix-build build.nix
-
-all-packages:
+guix-packages:
guix build -v3 -Lsrc/ -K \
-f src/org/euandre/packages.scm \
-f src/org/euandre/queue.scm \
-all-services:
- guix system -v3 -Lsrc/ -K build tests/test-system.scm
+guix-services-local:
+ guix system -v3 -Lsrc/ -K build tests/local-system.scm
+
+guix-services-internet:
+ guix system -v3 -Lsrc/ -K build tests/internet-system.scm
+
+guix-services: guix-services-local guix-services-internet
+
+nix:
+ nix-build build.nix
+
refresh:
sh scripts/paku -rg