aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2023-09-05 18:10:17 +0200
committerWojtek Kosior <koszko@koszko.org>2023-09-05 18:10:17 +0200
commit2793350b2d5a9ed22b92ac44bb30d2e85b16704a (patch)
treea0989847339141e2c1438b818560576c473d7786
parentde2ece0ec785b7187e24fa43d1c00465a290443d (diff)
downloadhaketilo-hydrilla-koszko.tar.gz
haketilo-hydrilla-koszko.zip
Make it easy to override Make variables with the guix command to usekoszko
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ca95a75..b3a79dc 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_FULL_PACKAGE_FLAGS = -f guix.scm
GUIX_MINIMAL_PACKAGE_FLAGS = -e '(@ (hydrilla-base) hydrilla-without-haketilo)' -L ./guix-module-dir