1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-07 05:30:38 +02:00
Files
guix/gnu
Nicolas Graves 3531c4cbde gnu: boost: Avoid dependency on pyproject-build-system.
This very heavy package is quite annoying when developping on
python-team.  Alleviate some of that development cost using
G-expressions.

* gnu/packages/boost.scm (boost, boost-1.88, boost-1.83):
[arguments]<#:imported-modules, #:modules>: Drop them.
<#:configure-flags, #:phases>: Set python-version with a G-expression
instead of depending on the pyproject-build-system to get it at build
time.  Wrap those snippet in a force/delay, because evaluating the
G-expression is not possible if python is not present, and this is the
case for boost-for-mysql.  This lead to a minor rewrite of the phase
'provide-libboost_python, to stay under 80 characters wide, but the
logic is similar.

Merges: https://codeberg.org/guix/guix/pulls/7392
Change-Id: I40ad5dfe12253d72f3b91af66eae4d72e1050209
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2026-04-04 22:42:01 +01:00
..
2026-03-29 14:12:56 +02:00
2026-04-04 22:42:00 +01:00