GNU bug report logs - #74217
Bootstrapping Zig with no Binary Blobs

Previous Next

Package: guix;

Reported by: Ekaitz Zarraga <ekaitz <at> elenq.tech>

Date: Tue, 5 Nov 2024 21:49:02 UTC

Owned by: Ekaitz Zarraga <ekaitz <at> elenq.tech>

Severity: normal

Done: Hilton Chain <hako <at> ultrarare.space>

Bug is archived. No further changes may be made.

Full log


Message #138 received at 74217 <at> debbugs.gnu.org (full text, mbox):

From: Hilton Chain <hako <at> ultrarare.space>
To: 74217 <at> debbugs.gnu.org
Cc: Motiejus Jakštys
 <motiejus <at> jakstys.lt>, Noé Lopez <noe <at> xn--no-cja.eu>,
 dan <i <at> dan.games>, Efraim Flashner <efraim <at> flashner.co.il>,
 Ekaitz Zarraga <ekaitz <at> elenq.tech>
Subject: Re: Bootstrapping Zig with no Binary Blobs
Date: Thu, 05 Dec 2024 14:27:14 +0800
On Mon, 02 Dec 2024 13:11:53 +0800,
Hilton Chain wrote:
>
> On Thu, 28 Nov 2024 19:08:09 +0800,
> Hilton Chain wrote:
> >
> > Made "#:zig-inputs" a private keyword, its value will be passed to inputs like
> > cargo-build-system (the build system doesn't extract the whole closure for
> > now, this can be added in the future depending on how Zig ecosystem develops).
>
> Just thought if we can avoid using #:zig-inputs, it turns out doing so is quite
> easy:

Added two procedures producing origin snippets in (gnu packages zig-xyz).

'add-build.zig.zon' for generating build.zig.zon, currently unused.
'rename-zig-dependencies' for replacing #:zig-inputs.

I'll try to make unpack-dependencies phase reading dependencies from
build.zig.zon instead of input labels so that we can have more specificity.




This bug report was last modified 194 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.