[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why is the <derivation> scheme record needed?
From: |
Ricardo Wurmus |
Subject: |
Re: Why is the <derivation> scheme record needed? |
Date: |
Sat, 17 Sep 2022 20:41:43 +0200 |
User-agent: |
mu4e 1.8.7; emacs 28.1 |
jgart <jgart@dismail.de> writes:
> Why is the <derivation> scheme record needed?
It is a Scheme representation of a derivation, which also has an on-disk
representation.
> How does it function in Guix?
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.
--
Ricardo