mbox series

[bug#70005,0/1] guix: chicken-build-system: fix the build system

Message ID b02bfd541ff907a8f4bb6e4f4e0bea6a@lyrion.ch
Headers show
Series guix: chicken-build-system: fix the build system | expand

Message

Daniel Ziltener March 26, 2024, 1:55 p.m. UTC
The build system for Chicken as-is works for basic eggs, but contains some
assumptions that make it fail with more sophisticated ones. The main wrong
assumption is that CHICKEN_INSTALL_REPOSITORY is enough to cover all cases; it
is not. CHICKEN_INSTALL_PREFIX is needed, too, and CHICKEN_REPOSITORY_PATH has
to be concatenated to the CHICKEN_INSTALL_REPOSITORY.

I also took the liberty to move the env variable definitions all to one place
to improve readability.

Daniel Ziltener (1):
  guix: chicken-build-system: fix the build system

 guix/build-system/chicken.scm       | 42 +++++++++++++++++++++--------
 guix/build/chicken-build-system.scm | 24 +++++++----------
 2 files changed, 41 insertions(+), 25 deletions(-)