Re: On a Guile-based Build-Tool complimenting Guix

2025-02-17 Thread Divya Ranjan
To keep others in the loop, Olivier and I had a discussion off-the-list on such a build tool. Soon we'd be creating a rudimentary repository and experimenting the tool with different packages. Hopefully we can come up with some interesting outcomes that can be used upstream for Guix. Regards.

Re: On a Guile-based Build-Tool complimenting Guix

2025-02-17 Thread Maxim Cournoyer
Hi Olivier, Olivier Dion writes: > On Sat, 28 Dec 2024, Ludovic Courtès wrote: >> Hello, >> >> Olivier Dion skribis: >> >>> For what it is worth, I have been using my own build system purely in >>> Guile for a few years now. I use it in my main project libpatch >>> (https://git.sr.ht/~old/lib

Re: On a Guile-based Build-Tool complimenting Guix

2025-02-12 Thread Development of GNU Guix and the GNU System distribution.
Hi, On Thu, Dec 19 2024, Divya Ranjan wrote: > why doesn’t Guix [...] have a purely Guile-based build tool? A year ago, I rewrote Guix's Makefile recipes in GNU Guile. They look like the example below. Would the maintainers accept such a patch? It would be a small step for a human but a big s

Re: On a Guile-based Build-Tool complimenting Guix

2025-02-11 Thread Olivier Dion
On Sat, 28 Dec 2024, Ludovic Courtès wrote: > Hello, > > Olivier Dion skribis: > >> For what it is worth, I have been using my own build system purely in >> Guile for a few years now. I use it in my main project libpatch >> (https://git.sr.ht/~old/libpatch/tree). It is compatible with the >> gn

Re: On a Guile-based Build-Tool complimenting Guix

2025-02-11 Thread Olivier Dion
On Sat, 28 Dec 2024, Divya Ranjan wrote: > Hello Oliver, > > Thanks for the elaborate response and apologies for a delayed one from > me, the holidays have been occupied. Sorry for my very late reply. Last months were very busy for me. I appology in advance for this very long answer. > The bui

Re: On a Guile-based Build-Tool complimenting Guix

2025-02-11 Thread Olivier Dion
On Tue, 31 Dec 2024, Pjotr Prins wrote: > On Sat, Dec 28, 2024 at 01:48:02AM +, Divya Ranjan wrote: [...] > Sure, it may be worth creating a clean system. But I do note that both > meson and cmake chose to handle the build through make or ninja. There > must be a reason for that :) Sorry fo

Re: On a Guile-based Build-Tool complimenting Guix

2025-02-11 Thread Olivier Dion
On Tue, 31 Dec 2024, Pjotr Prins wrote: > On Sat, Dec 28, 2024 at 01:48:02AM +, Divya Ranjan wrote: [...] > Sure, it may be worth creating a clean system. But I do note that both > meson and cmake chose to handle the build through make or ninja. There > must be a reason for that :) Sorry fo

Re: On a Guile-based Build-Tool complimenting Guix

2025-01-10 Thread Sergio Pastor Pérez
Hello Divya, apologies for the late response. On 12/28/24 02:55, Divya Ranjan wrote: While I haven't looked Nicholas' patches carefully, how do you think we could use Guix's build-system functionality as it stands now for a proper build system? Well. I see it the other way around. Guix is th

Re: On a Guile-based Build-Tool complimenting Guix

2025-01-06 Thread Hartmut Goebel
Am 04.01.25 um 11:06 schrieb Skyler Ferris via Development of GNU Guix and the GNU System distribution.: A Guix-aware build system could improve upon the traditional timestamp-based rebuilding heuristic by using a content address heursitic This is what Scons and waf do since their very beginni

Re: On a Guile-based Build-Tool complimenting Guix

2025-01-04 Thread Development of GNU Guix and the GNU System distribution.
Hi all! I just want to mention some theoretical benefits that could arise from using a Guix-aware build-system. A Guix-aware build system could improve upon the traditional timestamp-based rebuilding heuristic by using a content address heursitic. This benefits developers using the Guix-aware b

Re: On a Guile-based Build-Tool complimenting Guix

2024-12-30 Thread Pjotr Prins
On Sat, Dec 28, 2024 at 01:48:02AM +, Divya Ranjan wrote: >Hello Pjotr, glad to see that you'd be still interested in such a >project. >> Where it comes to other targets, such as Debian distros and all, it >is probably going to be too painful to handle to resolve all their >

Re: On a Guile-based Build-Tool complimenting Guix

2024-12-30 Thread Fi
Hello! For what its worth, I mentioned it only in the capacity of the opportunity to share work with meson. So in answer, I meant a guile interface to meson, with the backend of meson remaining the same I develop a lot with the gnome ecosystem and the meson project makes accommodations for that

Re: On a Guile-based Build-Tool complimenting Guix

2024-12-28 Thread Ludovic Courtès
Hello, Olivier Dion skribis: > For what it is worth, I have been using my own build system purely in > Guile for a few years now. I use it in my main project libpatch > (https://git.sr.ht/~old/libpatch/tree). It is compatible with the > gnu-build-system (configure && make && make check && make

Re: On a Guile-based Build-Tool complimenting Guix

2024-12-27 Thread Divya Ranjan
Hello Sergio, > While I don’t have a specific starting point in mind, I believe that an > essential feature such a tool, is the ability of continuing builds from > successful phases. While I haven't looked Nicholas' patches carefully, how do you think we could use Guix's build-system functiona

Re: On a Guile-based Build-Tool complimenting Guix

2024-12-27 Thread Divya Ranjan
Thanks for sharing these, Janeke! On 19 December 2024 21:17:39 GMT, Janneke Nieuwenhuizen wrote: >Divya Ranjan writes: > >Hello, > >> The other day, after being frustrated of build systems (auto-tools, >> meson, maven etc.), I wondered why doesn’t Guix which has such >> powerful tools within it (

Re: On a Guile-based Build-Tool complimenting Guix

2024-12-27 Thread Divya Ranjan
Hello Fi, Would you prefer a guile interface to meson, or a meson replacement in Guile? Regards, On 27 December 2024 00:41:33 GMT, Fi wrote: >I was thinking this the other day!, was wondering about how useful a guile >interface to meson would be. > >On 19. 12. 24 22:12, Divya Ranjan wrote: >>

Re: On a Guile-based Build-Tool complimenting Guix

2024-12-27 Thread Divya Ranjan
Hello Pjotr, glad to see that you'd be still interested in such a project. > Where it comes to other targets, such as Debian distros and all, it is > probably going to be too painful to handle to resolve all their demands. Can you elaborate on what exactly would be hard to figure out for a Debia

Re: On a Guile-based Build-Tool complimenting Guix

2024-12-27 Thread Divya Ranjan
Hello Attila, > i'm not sure whether that is part of your goals. maybe you just want to > provide an alternative build system, and merely inspire upstream authors to > migrate to it? (as opposed to providing a compatible guile-based build script > in parallel to upstream's makefiles) Indeed th

Re: On a Guile-based Build-Tool complimenting Guix

2024-12-27 Thread Divya Ranjan
Hello Oliver, Thanks for the elaborate response and apologies for a delayed one from me, the holidays have been occupied. The build system you present looks really interesting. But can you list down exactly how it works and how a developer can use it to build something in Guile using Guix? Al

Re: On a Guile-based Build-Tool complimenting Guix

2024-12-26 Thread Fi
I was thinking this the other day!, was wondering about how useful a guile interface to meson would be. On 19. 12. 24 22:12, Divya Ranjan wrote: > Hello Guix, > > The other day, after being frustrated of build systems (auto-tools, meson, > maven etc.), I wondered why doesn’t Guix which has such

Re: On a Guile-based Build-Tool complimenting Guix

2024-12-22 Thread Olivier Dion
Hi, For what it is worth, I have been using my own build system purely in Guile for a few years now. I use it in my main project libpatch (https://git.sr.ht/~old/libpatch/tree). It is compatible with the gnu-build-system (configure && make && make check && make install), but it does not have to

Re: On a Guile-based Build-Tool complimenting Guix

2024-12-20 Thread Pjotr Prins
This is pretty cool Olivier! My thought to build systems is that autotools and cmake are really ugly and I, for sure, have that itch to scratch. I have proposed GSoC projects in that direction. For a Guix target we can have a much lighter system that, similar to cmake, could generate ninja or mak

Re: On a Guile-based Build-Tool complimenting Guix

2024-12-20 Thread Attila Lendvai
> The other day, after being frustrated of build systems (auto-tools, > meson, maven etc.), I wondered why doesn’t Guix which has such > powerful tools within it (`guix build`, `guix pack` etc.) also not > have a purely Guile-based build tool? After all, our goal is to make > deployment, and buildi

Re: On a Guile-based Build-Tool complimenting Guix

2024-12-19 Thread indieterminacy
On 2024-12-19 22:17, Janneke Nieuwenhuizen wrote: Divya Ranjan writes: Hello, The other day, after being frustrated of build systems (auto-tools, meson, maven etc.), I wondered why doesn’t Guix which has such powerful tools within it (`guix build`, `guix pack` etc.) also not have a purely Guil

Re: On a Guile-based Build-Tool complimenting Guix

2024-12-19 Thread Janneke Nieuwenhuizen
Divya Ranjan writes: Hello, > The other day, after being frustrated of build systems (auto-tools, > meson, maven etc.), I wondered why doesn’t Guix which has such > powerful tools within it (`guix build`, `guix pack` etc.) also not > have a purely Guile-based build tool? After all, our goal is to

Re: On a Guile-based Build-Tool complimenting Guix

2024-12-19 Thread Sergio Pastor Pérez
Hello Divya! I would like to show interest in having a Guile based build-tool. If the community decides this is something worth putting effort into, I would like to participate. While I don’t have a specific starting point in mind, I believe that an essential feature such a tool, is the ability