Hello, Following on from discussion earlier in the week, please find attached 3 patches that implement a generalized `wrap-language-programs` procedure that can be used to add a `wrap` phase to build-systems.
The first patch adds the procedure, and the following 2 patches add `wrap` phase implementations using that procedure. I have tested Perl’s wrap phase, and that seems to work fine. I was unfortunately not able to test Python’s wrap phase, as I did not know of an appropriate test candidate (I tried to build offlineimap, but this failed because Guile@2.013 failed at least one of it’s tests). Feedback welcome! Ludovic: you mentioned pushing this patch series to a separate branch so we can test the builds on the build farm. What branch would you propose? Best wishes, Alex Alex Sassmannshausen (3): build/utils: Add `wrap-language-programs`. build/perl-build-system: Add `wrap` phase. build/python-build-system: Refactor `wrap`. guix/build/perl-build-system.scm | 15 +++++++++++++-- guix/build/python-build-system.scm | 36 ++++++++---------------------------- guix/build/utils.scm | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+), 30 deletions(-) -- 2.10.2