guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[shepherd] 05/05: build: Disable auto-compilation when running ‘guild co


From: Ludovic Courtès
Subject: [shepherd] 05/05: build: Disable auto-compilation when running ‘guild compile’.
Date: Wed, 4 Dec 2024 05:21:10 -0500 (EST)

civodul pushed a commit to branch main
in repository shepherd.

commit 22fe9519e2f9daa9786af8c098e9022b75313642
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Dec 4 11:17:56 2024 +0100

    build: Disable auto-compilation when running ‘guild compile’.
    
    This avoids repeated warnings about auto-compilation failure of ‘guild’
    in Guix build environments where $HOME is not writable by default.
    
    * Makefile.am (%.go): Set ‘GUILE_AUTO_COMPILE=0’.
---
 Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index b041615..5c7659a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -249,7 +249,8 @@ AM_V_GUILEC_0 = @echo "  GUILEC  " $@;
 %.go: %.scm $(templates:%.in=%)
        $(AM_V_GUILEC)$(MKDIR_P) "`dirname "$@"`" ;     \
        $(AM_V_P) && out=1 || out=- ;                   \
-       unset GUILE_LOAD_COMPILED_PATH ; LC_ALL=C       \
+       unset GUILE_LOAD_COMPILED_PATH ;                \
+       LC_ALL=C GUILE_AUTO_COMPILE=0                   \
        $(GUILD) compile --target="$(host)"             \
          -L "$(top_builddir)/modules"                  \
          -L "$(top_srcdir)/modules"                    \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]