aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2023-09-05 18:13:10 +0200
committerWojtek Kosior <koszko@koszko.org>2023-09-05 18:13:10 +0200
commit40b1963b6b32d37a99c8a1a76cb153a2598af9ef (patch)
tree09e87b62218d96372b78b39d6f899c8a2a2405a3
parenta928b671f4fdeabf99cec3c28d10582d5e2becfc (diff)
downloadkoszko-org-website-master.tar.gz
koszko-org-website-master.zip
Make it easy to override Make variables with the guix command to useHEADmaster
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index f864fbe..a205427 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 --