From 8f4bd4ec60bcc9f50f90360ba75bd5348050dfb3 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Tue, 5 Sep 2023 18:15:00 +0200 Subject: Make it easy to override Make variables with the guix command to use --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- -- cgit v1.2.3