From 40b1963b6b32d37a99c8a1a76cb153a2598af9ef Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Tue, 5 Sep 2023 18:13:10 +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 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 -- -- cgit v1.2.3