From: Ekaitz Zarraga <ekaitz@elenq.tech>
To: Hilton Chain <hako@ultrarare.space>, guix-devel@gnu.org
Cc: dan <i@dan.games>, "Efraim Flashner" <efraim@flashner.co.il>,
"Motiejus Jakštys" <motiejus@jakstys.lt>,
"Noé Lopez" <noe@xn--no-cja.eu>
Subject: Re: Bootstrapped Zig now available in Guix master.
Date: Tue, 31 Dec 2024 16:57:22 +0100 [thread overview]
Message-ID: <3acbc73b-bf0f-4d80-98c0-9aef10c2980f@elenq.tech> (raw)
In-Reply-To: <87ttajhnfj.wl-hako@ultrarare.space>
On 2024-12-31 4:39 PM, Hilton Chain wrote:
> Hi Guix,
>
> Zig 0.13.0 is now available in master!
>
> It's worth mentioning that some build steps can be used in shell as well:
>
> Reusing packaged dependencies with `unpack-dependencies' from
> `(guix build zig-build-system)':
> --8<---------------cut here---------------start------------->8---
> # Example: river
> git clone https://codeberg.org/river/river && cd river && git checkout v0.3.6
> guix shell --development river
> echo "((assoc-ref (@ (guix build zig-build-system) %standard-phases) 'unpack-dependencies))" | guix repl -t machine
> zig build
> --8<---------------cut here---------------end--------------->8---
>
> Additionally with `rename-zig-dependencies' from `(gnu packages zig)':
> --8<---------------cut here---------------start------------->8---
> # Example: zig-zls@0.13
> git clone https://github.com/zigtools/zls && cd zls && git checkout 0.13.0
> echo "(eval ((@ (gnu packages zig) rename-zig-dependencies) \
> '((\"diffz\" . \"zig-diffz\") \
> (\"known_folders\" . \"zig-known-folders\"))) \
> (interaction-environment))" | guix repl -t machine
> guix shell --development zig-zls@0.13
> echo "((assoc-ref (@ (guix build zig-build-system) %standard-phases) 'unpack-dependencies))" | guix repl -t machine
> zig build
> --8<---------------cut here---------------end--------------->8---
>
>
> Happy New Year :)
Oh!
Great achievement!
As told in IRC, I think we should write something about this, in the
line of the Mono bootstrap post. Zig people would enjoy it, and also
Guix people.
It's a great opportunity to let people know how hard is to bootstrap
Zig, Rust and some other languages, and make them focus a little bit
more on the language bootstrappability.
I offer myself as a reviewer for the blogpost, if you decide to go that
route and write one.
Thanks for making this. I followed this effort closely, even if I didn't
have the chance to take part.
Today Guix is a little bit more comfortable for me thanks to this.
Happy New Year.
Ekaitz
next prev parent reply other threads:[~2024-12-31 15:58 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-01 20:39 Bootstrapping Zig with no binary blobs: status update and call for packages Ashvith Shetty
2024-11-29 14:39 ` Hilton Chain
2024-12-01 23:19 ` Hilton Chain
2024-12-02 7:34 ` Efraim Flashner
2024-12-02 11:30 ` Ashvith Shetty
2024-12-03 15:37 ` Hilton Chain
2024-12-04 17:57 ` Hilton Chain
2024-12-02 13:18 ` Ludovic Courtès
2024-12-05 6:28 ` Hilton Chain
2024-12-31 15:39 ` Bootstrapped Zig now available in Guix master Hilton Chain
2024-12-31 15:57 ` Ekaitz Zarraga [this message]
2025-01-01 5:25 ` Pjotr Prins
2025-01-03 14:38 ` Hilton Chain
2025-01-03 18:01 ` Attila Lendvai
-- strict thread matches above, loose matches on Subject: below --
2025-01-02 1:09 Timothy Washington
2025-01-03 14:20 ` Hilton Chain
2025-01-05 3:44 ` Timothy Washington
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3acbc73b-bf0f-4d80-98c0-9aef10c2980f@elenq.tech \
--to=ekaitz@elenq.tech \
--cc=efraim@flashner.co.il \
--cc=guix-devel@gnu.org \
--cc=hako@ultrarare.space \
--cc=i@dan.games \
--cc=motiejus@jakstys.lt \
--cc=noe@xn--no-cja.eu \
/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 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).