[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/11: build: Always ship the (gnu installer …) modules.
From: |
guix-commits |
Subject: |
01/11: build: Always ship the (gnu installer …) modules. |
Date: |
Thu, 4 Apr 2019 11:49:19 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit a7ad4505b7a09f32e2727a333e11716739efb713
Author: Ludovic Courtès <address@hidden>
Date: Thu Apr 4 13:23:08 2019 +0200
build: Always ship the (gnu installer …) modules.
Fixes <https://bugs.gnu.org/35138>.
Reported by Jonathan Brielmaier <address@hidden>.
* gnu/local.mk (INSTALLER_MODULES): New variable.
(GNU_SYSTEM_MODULES, MODULES_NOT_COMPILED): Append $(INSTALLER_MODULES)
conditionally.
---
gnu/local.mk | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index 586be80..ecb7f9c 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -584,9 +584,7 @@ GNU_SYSTEM_MODULES = \
%D%/tests/virtualization.scm \
%D%/tests/web.scm
-if ENABLE_INSTALLER
-
-GNU_SYSTEM_MODULES += \
+INSTALLER_MODULES = \
%D%/installer.scm \
%D%/installer/connman.scm \
%D%/installer/final.scm \
@@ -618,13 +616,19 @@ GNU_SYSTEM_MODULES += \
%D%/installer/newt/welcome.scm \
%D%/installer/newt/wifi.scm
+# Always ship the installer modules but compile them only when
+# ENABLE_INSTALLER is true.
+if ENABLE_INSTALLER
+GNU_SYSTEM_MODULES += $(INSTALLER_MODULES)
+elif !ENABLE_INSTALLER
+MODULES_NOT_COMPILED += $(INSTALLER_MODULES)
+endif
+
installerdir = $(guilemoduledir)/%D%/installer
dist_installer_DATA = \
%D%/installer/aux-files/logo.txt \
%D%/installer/aux-files/SUPPORTED
-endif ENABLE_INSTALLER
-
# Modules that do not need to be compiled.
MODULES_NOT_COMPILED += \
%D%/build/shepherd.scm \
- branch master updated (660e0050 -> 985730c), guix-commits, 2019/04/04
- 01/11: build: Always ship the (gnu installer …) modules.,
guix-commits <=
- 03/11: gnu: java-jgit: Move to java.scm., guix-commits, 2019/04/04
- 06/11: gnu: raincat: Move to haskell-apps.scm., guix-commits, 2019/04/04
- 05/11: gnu: ghc-tls: Move to haskell-crypto.scm., guix-commits, 2019/04/04
- 11/11: scripts: More commands default to verbosity level 1., guix-commits, 2019/04/04
- 04/11: gnu: Move ghc-hxt & co. to haskell-web.scm., guix-commits, 2019/04/04
- 10/11: gexp: Remove workarounds for <https://bugs.gnu.org/15602>., guix-commits, 2019/04/04
- 09/11: gexp: 'compiled-modules' loads modules before compiling them., guix-commits, 2019/04/04
- 02/11: gnu: Add (gnu packages haskell-apps)., guix-commits, 2019/04/04
- 07/11: gnu: Mov ghc-sdl2 & co. to haskell-apps.scm., guix-commits, 2019/04/04
- 08/11: gnu: Move nss & co. to nss.scm., guix-commits, 2019/04/04