What is Nostr?
⠴PicNoir⠦ (was Ninjatrappeur) /
npub1pay…v4dp
2024-01-14 11:00:55

⠴PicNoir⠦ (was Ninjatrappeur) on Nostr: I was a bit confused about how Guix generates the derivations ATerms. This pipeline ...

I was a bit confused about how Guix generates the derivations ATerms. This pipeline has more abstraction layers than its Nix counterpart.

npub1zaetapl3m2eunwr78rgctx497vkeyun3tsckz97l4lhzssez4vpqxhfpj4 (npub1zae…fpj4) recommended me the "Dissecting Guix part 1" blog post. This post (and the whole serie) is marvelous.

https://guix.gnu.org/en/blog/2023/dissecting-guix-part-1-derivations/

Not only it shows you the full derivation pipeline in a very concrete way*, but it also sprinkles some very useful Guile debugging/exploration tips. It answers your immediate questions, but also gives you some tools you'll definitely need (but you don't know yet you need them!) for your future code spelunking sessions.

This is some top-notch technical writing. Massive kudos to the author!

*EDIT: granted, it does not discuss the "bag" abstraction used by some major build systems. That's probably the only "major" thing lacking to this blog post to understand the full build system -> ATerm pipeline.
Author Public Key
npub1payzd4g5lrpxkl2f20sku8ae3qxz9rkxd8cynnjagexglj2ap9qs86v4dp