1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 08:31:16 +02:00

Test and begin documentation of the ATerm format for derivations

Wanted to do this before the last dynamic derivations PR when I
introduce a variation, to make sure I wasn't changing the old version by
mistake.
This commit is contained in:
John Ericson 2023-09-05 11:16:39 -04:00
parent f878b422b0
commit 880d9cabed
3 changed files with 83 additions and 46 deletions

View file

@ -0,0 +1,9 @@
# Derivation on-disk "ATerm" format
For historical reasons, [derivations](@docroot@/glossary.md#gloss-store-derivation) are stored on-disk in [ATerm](https://homepages.cwi.nl/~daybuild/daily-books/technology/aterm-guide/aterm-guide.html) format.
Derivations are serialised in the following format:
```
Derive(...)
```