Re: [PATCH 00/48] Extend bag-build to gexps.

2025-05-13 Thread Sergio Pastor Pérez
Hello Nicolas, Nicolas Graves writes: > The first/independent part of 68315 has already been merged, now it's > time for discussion on how/when/with which process to get that one > merged. > > I've pinged the other issue this morning, hopefully we can get a > discussion going there! That's great

Re: [PATCH 00/48] Extend bag-build to gexps.

2025-05-13 Thread Nicolas Graves
Sorry Sergio I read you late! Nice, indeed debugging symbols would be great in this context. The first/independent part of 68315 has already been merged, now it's time for discussion on how/when/with which process to get that one merged. I've pinged the other issue this morning, hopefully we c

Re: [PATCH 00/48] Extend bag-build to gexps.

2025-04-24 Thread Sergio Pastor Pérez
Nicolas Graves writes: > Made some progress and I'll rework on the patches tonight. I'm looking forward to it! > Current workflow is the following : > > In a guix with v2 patches and current guix-local: > cd /tmp > mkdir -p hello > cd hello > guix local instantiate hello --> downloads and unpack

Re: [PATCH 00/48] Extend bag-build to gexps.

2025-04-24 Thread Nicolas Graves
Made some progress and I'll rework on the patches tonight. Current workflow is the following : In a guix with v2 patches and current guix-local: cd /tmp mkdir -p hello cd hello guix local instantiate hello --> downloads and unpacks hello's source cd hello* guix local build hello --> builds locall

Re: [PATCH 00/48] Extend bag-build to gexps.

2025-04-05 Thread Nicolas Graves
On 2025-03-21 11:20, Sergio Pastor Pérez wrote: > > The version 2 has less patches. Do I need to apply only v2? Yes, I merged some patches because my mail are capped to 200/hour and I reached that in v1. -- Best regards, Nicolas Graves

Re: [PATCH 00/48] Extend bag-build to gexps.

2025-03-23 Thread Sergio Pastor Pérez
Hello Nicolas! I've been looking forward to this early 2024 effort to allow partial builds. Today I've decided to try it out. I got some issues when running the 'guix.scm' example you provided with your patch series applied over `412f411d4f8780e6b60b448caae17f01c09be0eb`. --8<---cut h

Re: [PATCH 00/48] Extend bag-build to gexps.

2025-03-21 Thread Sergio Pastor Pérez
ngra...@ngraves.fr writes: > Hi Sergio, > > I worked towards it quite recently ! Latest efforts are from yesterday even ;) > > The latest working example on my side is (used in guile-emacs repo as > guix.scm with command guix build -f guix.scm) :  > https://git.sr.ht/~ngraves/guix-stack/tree/maste

Re: [PATCH 00/48] Extend bag-build to gexps.

2025-03-19 Thread Development of GNU Guix and the GNU System distribution.
Hi Sergio, I worked towards it quite recently ! Latest efforts are from yesterday even ;) The latest working example on my side is (used in guile-emacs repo as guix.scm with command guix build -f guix.scm) :  https://git.sr.ht/~ngraves/guix-stack/tree/master/item/examples/guile-emacs.scm The co

Re: [PATCH 00/48] Extend bag-build to gexps.

2024-07-31 Thread Andrew Tropin
On 2024-01-08 08:51, Nicolas Graves via "Development of GNU Guix and the GNU System distribution." wrote: > Rationale: > Almost all build-systems are defined with gexpressions in functions > that return derivations. Derivations are not easily extensible while > gexps are. An example usage is give

Re: [PATCH 00/48] Extend bag-build to gexps.

2024-01-10 Thread Development of GNU Guix and the GNU System distribution.
Here's a more complete proof of concept: The attached file guix.scm, when run a checkout of emacs branch emacs-29 with guix build -f guix.scm will : - compile everything as if run locally but with the patches provided by guix sources. - a local edit and the rerun of guix build -f guix.scm will on

[PATCH 00/48] Extend bag-build to gexps.

2024-01-07 Thread Development of GNU Guix and the GNU System distribution.
Rationale: Almost all build-systems are defined with gexpressions in functions that return derivations. Derivations are not easily extensible while gexps are. An example usage is given below. This is a pretty big rewrite that should recompile almost all packages, but a lot of grafting happens such