Re: Difference between guix/build and guix/build-system

2024-05-14 Thread pelzflorian (Florian Pelz)
Hi, Vasilii Smirnov writes: > Oh, nice, I completely missed that page. Thanks! Although it would be > nice if it went into more detail... Like, I see that both "build" and > "build-system" parts define the "${name}-build" function > (e.g. cmake-build). But the definitions are different. > > The w

Re: Difference between guix/build and guix/build-system

2024-05-14 Thread Vasilii Smirnov
On 5/14/24 12:24, pelzflorian (Florian Pelz) wrote: Hello Vasilii. In addition to Hartmut’s recommendation to imitate, there also is a manual section; run info "(guix)Source Tree Structure" or visit https://guix.gnu.org/manual/devel/en/html_node/Source-Tree-Structure.html explaining what gui

Re: Difference between guix/build and guix/build-system

2024-05-14 Thread pelzflorian (Florian Pelz)
Hello Vasilii. In addition to Hartmut’s recommendation to imitate, there also is a manual section; run info "(guix)Source Tree Structure" or visit https://guix.gnu.org/manual/devel/en/html_node/Source-Tree-Structure.html explaining what guix/build/…-build-system are: (guix build gnu-build-sy

Re: Difference between guix/build and guix/build-system

2024-05-14 Thread Hartmut Goebel
Am 11.05.24 um 16:45 schrieb Vasilii Smirnov: where ${name} can be "cmake", or "node", etc... So, the question is: what's the reason for this split? For building, parts need to be "packaged" and put into the build-environment. (Can't tell which directory is which one.) If I want to write

Difference between guix/build and guix/build-system

2024-05-13 Thread Vasilii Smirnov
I've noticed that build systems in Guix are split in two parts: - guix/build-system/${name}.scm - guix/build/${name}-build-system.scm where ${name} can be "cmake", or "node", etc... So, the question is: what's the reason for this split? If I want to write a new build system, what code should I