unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Hilton Chain <hako@ultrarare.space>
To: guix-devel@gnu.org
Cc: dan <i@dan.games>, "Efraim Flashner" <efraim@flashner.co.il>,
	"Ekaitz Zarraga" <ekaitz@elenq.tech>,
	"Motiejus Jakštys" <motiejus@jakstys.lt>,
	"Noé Lopez" <noe@xn--no-cja.eu>
Subject: Bootstrapped Zig now available in Guix master.
Date: Tue, 31 Dec 2024 23:39:12 +0800	[thread overview]
Message-ID: <87ttajhnfj.wl-hako@ultrarare.space> (raw)
In-Reply-To: <87a5dip0j5.wl-hako@ultrarare.space>

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 :)


  parent reply	other threads:[~2024-12-31 15:40 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   ` Hilton Chain [this message]
2024-12-31 15:57     ` Bootstrapped Zig now available in Guix master Ekaitz Zarraga
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=87ttajhnfj.wl-hako@ultrarare.space \
    --to=hako@ultrarare.space \
    --cc=efraim@flashner.co.il \
    --cc=ekaitz@elenq.tech \
    --cc=guix-devel@gnu.org \
    --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).