aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/architecture/architecture.md
diff options
context:
space:
mode:
authorValentin Gagarin <valentin.gagarin@tweag.io>2022-10-15 23:46:32 +0200
committerValentin Gagarin <valentin.gagarin@tweag.io>2022-11-09 01:29:01 +0100
commit3d716df7ce0639e61170ea1e18a370138dce8e5b (patch)
tree35c81bbfa6500ab8820a095251d4cc784c08f638 /doc/manual/src/architecture/architecture.md
parent98447c1a7f1538f4d3132c0b79ad5b67e136af85 (diff)
make diagrams compatible with svgbob
this will at some point enable rendering them nicely for the web
Diffstat (limited to 'doc/manual/src/architecture/architecture.md')
-rw-r--r--doc/manual/src/architecture/architecture.md53
1 files changed, 31 insertions, 22 deletions
diff --git a/doc/manual/src/architecture/architecture.md b/doc/manual/src/architecture/architecture.md
index f113cbf4d..0df4fbc68 100644
--- a/doc/manual/src/architecture/architecture.md
+++ b/doc/manual/src/architecture/architecture.md
@@ -11,20 +11,25 @@ Nix consists of [hierarchical layers].
```
+---------------------------------------------------------------+
-| Nix |
-| [ commmand line interface ]------, |
+| Nix .-------------------------. |
+| | commmand line interface |------. |
+| '-------------------------' | |
| | | |
| evaluates | |
| | manages |
| V | |
-| [ configuration language ] | |
+| .-------------------------. | |
+| | configuration language | | |
+| '-------------------------' | |
| | | |
-| +----------------------------|-------------------V----------+ |
-| | store evaluates to | |
-| | | | |
+| evaluates to | |
+| | V |
+| +----------------------------|------------------------------+ |
+| | store | | |
| | referenced by V builds | |
-| | [ build input ] ---> [ build plan ] ---> [ build result ] | |
-| | | |
+| | .-------------. .------------. .--------------. | |
+| | | build input |----->| build plan | ---->| build result | | |
+| | '-------------' '------------' '--------------' | |
| +-----------------------------------------------------------+ |
+---------------------------------------------------------------+
```
@@ -54,24 +59,28 @@ The result of a build task can be input to another build task.
```
+----------------------------------------------------------------------------------+
-| store .............................................. |
+| store - - - - - - - - - - - - - - - - - - - - - - |
| : build plan : |
-| : : |
-| [ build input ]---instructions-, : |
-| : | : |
+| .-------------. : : |
+| | build input |---instructions-. : |
+| '-------------' : | : |
| : v : |
-| [ build input ]--------->[ build task ]-instructions-, : |
-| : | : |
+| .-------------. : .------------. : |
+| | build input |--------->| build task |-instructions-. : |
+| '-------------' : '------------' | : |
| : v : |
-| [ build input ]---instructions-, [ build task ]--->[ build result ] |
-| : | ^ : |
-| : v | : |
-| [ build input ]--------->[ build task ]--------------' : |
+| .-------------. : .------------. : .--------------. |
+| | build input |---instructions-. | build task |--->| build result | |
+| '-------------' : | '------------' : '--------------' |
+| : v ^ : |
+| .-------------. : .------------. | : |
+| | build input |--------->| build task |--------------' : |
+| '-------------' : '------------' : |
| : ^ : |
-| : | : |
-| [ build input ]----------------' : |
-| : : |
-| :............................................: |
+| .-------------. : | : |
+| | build input |----------------' : |
+| '-------------' : : |
+| :_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _: |
+----------------------------------------------------------------------------------+
```