[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Vasilii Smirnov
Subject: Re: Difference between guix/build and guix/build-system
Date: Tue, 14 May 2024 16:13:30 +0200

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

explaining what guix/build/…-build-system are:

  (guix build gnu-build-system)
  (guix build cmake-build-system)
  (guix build pyproject-build-system)

  Implementation of build systems, and in particular definition of their build 
phases (see Build Phases).


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 way I interpret these docs is that everything in the "build" part is solely for use from inside of gexps? And the "build-system" part is for use by the host code, that embeds these gexps. That would explain duplicate function names then...

reply via email to

[Prev in Thread] Current Thread [Next in Thread]