From: jgart <jgart@dismail.de>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: help-guix@gnu.org
Subject: Re: Why is the <derivation> scheme record needed?
Date: Sun, 18 Sep 2022 09:58:36 -0500 [thread overview]
Message-ID: <20220918095836.GF24593@dismail.de> (raw)
In-Reply-To: <87sfkpj0y5.fsf@elephly.net>
On Sat, 17 Sep 2022 20:41:43 +0200 Ricardo Wurmus <rekado@elephly.net> wrote:
Hi rekado,
Thanks for the explanations! Much appreciated. Here are some more questions:
> It is a Scheme representation of a derivation, which also has an on-disk
> representation.
Why was the scheme representation of a derivation needed?
Was it primarily so that we can inspect it at the REPL like a scheme
object before it gets sent to disk or is there some additional reason?
> Everything that the daemon is asked to build must be compiled to a
> derivation on disk first. From the perspective of the daemon there are
> no first-class packages, only derivations. Much of what Guix as a
> library does is to turn package values into derivation files and
> builders to feed them into the daemon.
Why are the bags needed? What do the bags solve in the system?
all best,
jgart
next prev parent reply other threads:[~2022-09-18 14:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-17 16:03 Why is the <derivation> scheme record needed? jgart
2022-09-17 18:41 ` Ricardo Wurmus
2022-09-18 14:58 ` jgart [this message]
2022-09-19 7:27 ` Ricardo Wurmus
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=20220918095836.GF24593@dismail.de \
--to=jgart@dismail.de \
--cc=help-guix@gnu.org \
--cc=rekado@elephly.net \
/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.
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).