From e92f0eb7aadee27c2c7806164fb8f04966e5661b Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 21 Mar 2023 11:50:44 -0300 Subject: Add generated Guix and Nix files as dependencies of paku.lock --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Makefile') 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 > $@ -- cgit v1.2.3