aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2023-09-05 18:16:37 +0200
committerWojtek Kosior <koszko@koszko.org>2023-09-05 18:16:37 +0200
commit7fe30d5b5e22818712b90664d905483ea3fe54c3 (patch)
tree976f9e371a6cdb1cba5e8e013affe2c9111326b4 /Makefile
parent3cde49d1e577441654ad49c8a87119951d6e95fe (diff)
downloadkoszko-org-server-7fe30d5b5e22818712b90664d905483ea3fe54c3.tar.gz
koszko-org-server-7fe30d5b5e22818712b90664d905483ea3fe54c3.zip
Make submakes always use the same Guix we use
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f1e8fbe..29705dc 100644
--- a/Makefile
+++ b/Makefile
@@ -7,13 +7,16 @@
-include Makefile.local
GUIX ?= guix
+export GUIX
# Almost all commands in this Makefilo are run through `guix time-machine` with
# Guix revision fixed to the one from the commit below. This ensures that the
# same working environment is always used.
GUIX_COMMIT ?= a86979b41a49a8fcdaa887970ba594dbba701226
+export GUIX_COMMIT
GUIX_TM ?= $(GUIX) time-machine --commit=$(GUIX_COMMIT) --
+export GUIX_TM
GUIX_LOAD_PATHS = $$( \
find subrepos/ -mindepth 1 -maxdepth 1 \