aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-21 11:50:44 -0300
committerEuAndreh <eu@euandre.org>2023-03-21 11:50:44 -0300
commite92f0eb7aadee27c2c7806164fb8f04966e5661b (patch)
treee178a722b434e1c24d8f06170bb8aec5b684b44d /Makefile
parentpaku.lock: Use flat format for packages (diff)
downloadpackage-repository-e92f0eb7aadee27c2c7806164fb8f04966e5661b.tar.gz
package-repository-e92f0eb7aadee27c2c7806164fb8f04966e5661b.tar.xz
Add generated Guix and Nix files as dependencies of paku.lock
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 > $@