aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2023-09-05 18:13:10 +0200
committerW. Kosior <koszko@koszko.org>2025-07-03 20:36:02 +0200
commit2c29f05389746352e30a0afd84802b030a6673e9 (patch)
tree89d8ed2d96e3527523810e75f8d660763d7ba08d
parent70bda872254e3457a0777a34e0a2e4115796335d (diff)
downloadkoszko-org-website-2c29f05389746352e30a0afd84802b030a6673e9.tar.gz
koszko-org-website-2c29f05389746352e30a0afd84802b030a6673e9.zip
Make it easy to override Make variables with the guix command to use
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2a6fa77..995aa8f 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 --