[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: gnu: meson-wrapped: Do not propagate Python.
From: |
guix-commits |
Subject: |
02/07: gnu: meson-wrapped: Do not propagate Python. |
Date: |
Mon, 22 Nov 2021 17:52:29 -0500 (EST) |
civodul pushed a commit to branch core-updates-frozen
in repository guix.
commit f12cf46eed08c5e8cc6ffec7316ea2de262aa607
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Nov 22 22:36:47 2021 +0100
gnu: meson-wrapped: Do not propagate Python.
* gnu/packages/build-tools.scm (meson-wrapped)[propagated-inputs,
inputs]: New fields.
---
gnu/packages/build-tools.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index 6a8a9c6..249d8bc 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -285,7 +285,12 @@ files and generates build instructions for the Ninja build
system.")
;; Python interpreter, so we cannot use the shell wrapper.
(delete 'wrap))))
(inputs `(("ninja" ,ninja)))
+
+ ;; XXX: Python is propagated just to 'GUIX_PYTHONPATH' is set (!).
+ ;; MESON-WRAPPED below fixes that by wrapping the 'meson' executable.
+ ;; TODO: Make MESON-WRAPPED the new MESON on the next core update cycle.
(propagated-inputs `(("python" ,python)))
+
(home-page "https://mesonbuild.com/")
(properties '((hidden? . #t)))
(synopsis "Build system designed to be fast and user-friendly")
@@ -300,6 +305,9 @@ resembles Python.")
(define-public meson-wrapped
(package/inherit meson
+ (propagated-inputs '()) ;don't propagate Python
+ (inputs (modify-inputs (package-inputs meson)
+ (prepend python-wrapper)))
(arguments
`(;; FIXME: Tests require many additional inputs and patching many
;; hard-coded file system locations in "run_unittests.py".
- branch core-updates-frozen updated (a24b83d -> 12f6831), guix-commits, 2021/11/22
- 01/07: gnu: meson: Extend the python path in the installed program., guix-commits, 2021/11/22
- 03/07: gnu: gupnp-igd: Set HOME before 'check' phase., guix-commits, 2021/11/22
- 02/07: gnu: meson-wrapped: Do not propagate Python.,
guix-commits <=
- 05/07: gnu: libgadu: Build with '-fcommon'., guix-commits, 2021/11/22
- 06/07: gnu: certdata2pem: Make public., guix-commits, 2021/11/22
- 04/07: gnu: libmateweather: Build with libsoup 2., guix-commits, 2021/11/22
- 07/07: gnu: openresolv: Wrap resolvconf., guix-commits, 2021/11/22