From 2793350b2d5a9ed22b92ac44bb30d2e85b16704a Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Tue, 5 Sep 2023 18:10:17 +0200 Subject: Make it easy to override Make variables with the guix command to use --- Makefile | 6 +++--- 1 file 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 -- cgit v1.2.3