aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index c592bea..0f011f9 100644
--- a/Makefile
+++ b/Makefile
@@ -24,13 +24,15 @@ test-config-files = \
derived-assets = \
$(test-config-files) \
-guix: result-packages result-services
+guix: src/org/euandre/packages.scm result-packages result-services
-result-packages:
+src/org/euandre/packages.scm: paku.lock
perl src/bin/paku guix > src/org/euandre/packages.scm
+
+result-packages:
guix build -r $@ -v3 -Lsrc/ -K \
-f src/org/euandre/packages.scm \
- -f src/org/euandre/queue.scm \
+ -f src/org/euandre/queue.scm
local-files = \
/etc/postfix/master.cf \
@@ -58,7 +60,7 @@ result-internet: result-packages
result-services: result-local result-internet
-nix: result
+nix: default.nix result
default.nix: paku.lock
perl src/bin/paku nix > $@