1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-24 22:11:15 +02:00

docs: fix duplicate anchor

`#deriving-path-encoding` is defined in two places, I _think_ this is the correct one to change.
This commit is contained in:
Peder Bergebakken Sundt 2025-05-16 10:27:29 +02:00
parent b21fc05047
commit 4c50cf798e

View file

@ -282,7 +282,7 @@ type DerivingPath = ConstantPath | OutputPath;
Under this extended model, `DerivingPath`s are thus inductively built up from a root `ConstantPath`, wrapped with zero or more outer `OutputPath`s. Under this extended model, `DerivingPath`s are thus inductively built up from a root `ConstantPath`, wrapped with zero or more outer `OutputPath`s.
### Encoding {#deriving-path-encoding} ### Encoding {#deriving-path-encoding-higher-order}
The encoding is adjusted in the natural way, encoding the `drv` field recursively using the same deriving path encoding. The encoding is adjusted in the natural way, encoding the `drv` field recursively using the same deriving path encoding.
The result of this is that it is possible to have a chain of `^<output-name>` at the end of the final string, as opposed to just a single one. The result of this is that it is possible to have a chain of `^<output-name>` at the end of the final string, as opposed to just a single one.