From: Robert Vollmert <rob@vllmrt.net>
To: guix-devel@gnu.org
Subject: Re: 01/01: guix: node-build-system: Use guile-json instead of a custom parser.
Date: Sun, 14 Jul 2019 20:27:32 +0200 [thread overview]
Message-ID: <371096AF-FCE7-4A1B-935B-12BEA303BF59@vllmrt.net> (raw)
In-Reply-To: <20190714201918.6794a007@sybil.lepiller.eu>
On 14. Jul 2019, at 20:19, Julien Lepiller <julien@lepiller.eu> wrote:
>
> Le Sun, 14 Jul 2019 15:40:43 +0200,
> Ludovic Courtès <ludo@gnu.org> a écrit :
>> The effect of this change is to import the (json parser) from the host
>> side into the build side.
>>
>> As a result, if I have installed Guile-JSON 1.2 and you have
>> Guile-JSON 3.1, we’ll end up building different derivations (and one
>> of them won’t build :-)).
>>
>> The solution here would be to do the equivalent of ‘with-extensions’
>> for gexps.
>>
>> However, given that that’s annoying to do without gexps, and given
>> that the plan is to move build systems to gexps Real Soon, I’d be in
>> favor of simply reverting this commit and using the custom JSON
>> parser. We can add a TODO/FIXME explaining that we’ll replace it
>> with Guile-JSON as soon as build systems are rewritten to use gexps.
>>
>> How does that sound?
>>
>> Apologies if I overlooked it in your initial patch submission!
>>
>> Thank you,
>> Ludo’.
>
> OK, sorry for pushing this patch then... I've reverted it in
> a4bb18921099b2ec8c1699e08a73ca0fa78d0486. Thanks for the explanation!
It’s a bit my fault, for remarking on the fact that the cargo build
system does use guile-json. I suppose that’s not worth fixing either
at this point?
Cheers
Robert
next prev parent reply other threads:[~2019-07-14 18:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20190714125820.15568.58684@vcs0.savannah.gnu.org>
[not found] ` <20190714125821.1CA192088F@vcs0.savannah.gnu.org>
2019-07-14 13:40 ` 01/01: guix: node-build-system: Use guile-json instead of a custom parser Ludovic Courtès
2019-07-14 18:19 ` Julien Lepiller
2019-07-14 18:27 ` Robert Vollmert [this message]
2019-07-15 12:25 ` Ludovic Courtès
2019-07-15 19:46 ` Robert Vollmert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=371096AF-FCE7-4A1B-935B-12BEA303BF59@vllmrt.net \
--to=rob@vllmrt.net \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.