aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2023-09-05 18:15:00 +0200
committerWojtek Kosior <koszko@koszko.org>2023-09-05 18:15:00 +0200
commit8f4bd4ec60bcc9f50f90360ba75bd5348050dfb3 (patch)
tree25d023d59b0780293d39f6991d55814d30f2603a /Makefile
parent2b2c70932bf6ffcd77fbe5f6c59a203299f755a5 (diff)
downloadhydrilla-website-8f4bd4ec60bcc9f50f90360ba75bd5348050dfb3.tar.gz
hydrilla-website-8f4bd4ec60bcc9f50f90360ba75bd5348050dfb3.zip
Make it easy to override Make variables with the guix command to use
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b7ca583..297a87b 100644
--- a/Makefile
+++ b/Makefile
@@ -4,14 +4,14 @@
#
# Available under the terms of Creative Commons Zero v1.0 Universal.
-GUIX := guix
+GUIX ?= 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
+GUIX_COMMIT ?= a86979b41a49a8fcdaa887970ba594dbba701226
-GUIX_TM = $(GUIX) time-machine --commit=$(GUIX_COMMIT) --
+GUIX_TM ?= $(GUIX) time-machine --commit=$(GUIX_COMMIT) --
GUIX_DEVSHELL = $(GUIX_TM) shell -Df guix.scm --