* Should 'build-expression->derivation' be used for new build systems?
@ 2018-10-18 19:29 Alex Vong
2018-10-19 14:05 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Alex Vong @ 2018-10-18 19:29 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 356 bytes --]
Hello,
I noticed that in the (guix derivations) module,
'build-expression->derivation' is marked as deprecated. However, I see
that all build systems currently living in the (guix build-system ...)
namespaces are still using it. Is this intended or will this be changed
eventually? If this is going to change, is there an example to follow?
Cheers,
Alex
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Should 'build-expression->derivation' be used for new build systems?
2018-10-18 19:29 Should 'build-expression->derivation' be used for new build systems? Alex Vong
@ 2018-10-19 14:05 ` Ludovic Courtès
2018-10-19 16:11 ` Joshua Branson
0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2018-10-19 14:05 UTC (permalink / raw)
To: Alex Vong; +Cc: guix-devel
Hello Alex,
Alex Vong <alexvong1995@gmail.com> skribis:
> I noticed that in the (guix derivations) module,
> 'build-expression->derivation' is marked as deprecated. However, I see
> that all build systems currently living in the (guix build-system ...)
> namespaces are still using it. Is this intended or will this be changed
> eventually? If this is going to change, is there an example to follow?
For now, you have to use it.
The story of ‘build-expression->derivation’ is that of an unfinished
transition to G-expressions. :-)
There’s a branch called ‘wip-build-systems-gexp’ that aims to complete
that transition, but I haven’t yet gotten around to actually finishing
the work. This is one of the things I want us to complete for 1.0
though, so sooner rather than later.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Should 'build-expression->derivation' be used for new build systems?
2018-10-19 14:05 ` Ludovic Courtès
@ 2018-10-19 16:11 ` Joshua Branson
2018-10-20 10:03 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Joshua Branson @ 2018-10-19 16:11 UTC (permalink / raw)
To: guix-devel
ludo@gnu.org (Ludovic Courtès) writes:
> Hello Alex,
>
> Alex Vong <alexvong1995@gmail.com> skribis:
>
>> I noticed that in the (guix derivations) module,
>> 'build-expression->derivation' is marked as deprecated. However, I see
>> that all build systems currently living in the (guix build-system ...)
>> namespaces are still using it. Is this intended or will this be changed
>> eventually? If this is going to change, is there an example to follow?
>
> For now, you have to use it.
>
> The story of ‘build-expression->derivation’ is that of an unfinished
> transition to G-expressions. :-)
>
> There’s a branch called ‘wip-build-systems-gexp’ that aims to complete
> that transition, but I haven’t yet gotten around to actually finishing
> the work. This is one of the things I want us to complete for 1.0
> though, so sooner rather than later.
May I ask why the transition? Just curious.
>
> Thanks,
> Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-10-20 10:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-18 19:29 Should 'build-expression->derivation' be used for new build systems? Alex Vong
2018-10-19 14:05 ` Ludovic Courtès
2018-10-19 16:11 ` Joshua Branson
2018-10-20 10:03 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).