update architecture diagram

This commit is contained in:
Valentin Gagarin 2022-05-03 14:05:46 +02:00
parent ad8c2ed7f0
commit d3effd014b

View file

@ -8,20 +8,20 @@ It should help users understand why Nix behaves as it does, and it should help d
Nix consists of hierarchical [layers](https://en.m.wikipedia.org/wiki/Multitier_architecture#Layers). Nix consists of hierarchical [layers](https://en.m.wikipedia.org/wiki/Multitier_architecture#Layers).
``` ```
[ commmand line interface ] [ commmand line interface ]--------+
| | |
| evaluates | evaluates | manages
V V |
[ configuration language ] [ configuration language ] |
| | V
| evaluates to +-------------------------------|---------------------------------+
| | store | |
reference V build | | evaluates to |
[ build inputs ] --> [ build plans ] --> [ build results ] | | |
\ | / | references V builds |
\ | persisted to / | [ build input ] --> [ build plan ] --> [ build result ] |
\ V / | |
[ store ] +-----------------------------------------------------------------+
``` ```
At the top is the *command line interface*, translating from invocations of Nix executables to interactions with the underlying layers. At the top is the *command line interface*, translating from invocations of Nix executables to interactions with the underlying layers.