guix: move python-minimal to GUI build
What changed, and why it matters
This commit is a build-system housekeeping change. It moves the Python package dependency from the non-GUI build manifest to the GUI build manifest in Bitcoin Core's Guix reproducible-build setup. There is no indication this fixes or introduces a security vulnerability; it simply makes sure the right build environment includes Python only when needed for GUI packaging.
No security action required. Treat as routine build maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch removes python-minimal from contrib/guix/manifest_build.scm and adds it to contrib/guix/manifest_gui.scm. This aligns the Guix manifest dependencies with actual usage: Python is required for GUI-related packaging scripts, not for the base non-GUI build. No code behavior changes, no cryptographic or network code is touched, and no vulnerability is described.
Changed components
contrib/guix/manifest_build.scmcontrib/guix/manifest_gui.scmInspect captured patch +3 / −3
diff --git a/contrib/guix/manifest_build.scm b/contrib/guix/manifest_build.scm
index 6d7aa0d5..33d11b9c 100644
--- a/contrib/guix/manifest_build.scm
+++ b/contrib/guix/manifest_build.scm
@@ -8,7 +8,6 @@
((gnu packages linux) #:select (linux-libre-headers-6.1))
(gnu packages llvm)
(gnu packages mingw)
- ((gnu packages python) #:select (python-minimal))
((gnu packages version-control) #:select (git-minimal))
(guix build-system trivial)
(guix download)
@@ -272,8 +271,6 @@ chain for " target " development."))
;; Build tools
cmake-minimal
gnu-make
- ;; Scripting
- python-minimal ;; (3.11)
;; Git
git-minimal)
(let ((target (getenv "HOST")))
diff --git a/contrib/guix/manifest_gui.scm b/contrib/guix/manifest_gui.scm
index fdb9a32b..1754af90 100644
--- a/contrib/guix/manifest_gui.scm
+++ b/contrib/guix/manifest_gui.scm
@@ -4,6 +4,7 @@
((gnu packages installers) #:select (nsis-x86_64))
(gnu packages ninja)
(gnu packages pkg-config)
+ ((gnu packages python) #:select (python-minimal))
((gnu packages python-xyz) #:select (python-lief)))
(packages->manifest
@@ -12,6 +13,8 @@
xz
;; Build tools
ninja
+ ;; Packaging scripts
+ python-minimal ;; (3.11)
;; Tests
python-lief)
(let ((target (getenv "HOST")))
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.