mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2024-12-14 11:47:31 +00:00
Merge pull request #188 from hercules-ci/doc-transposition
transposition: Improve doc
This commit is contained in:
commit
279338e390
1 changed files with 7 additions and 0 deletions
|
@ -31,6 +31,13 @@ in
|
|||
description = ''
|
||||
A helper that defines transposed attributes in the flake outputs.
|
||||
|
||||
When you define `transposition.foo = { };`, definitions are added to the effect of (pseudo-code):
|
||||
|
||||
```nix
|
||||
flake.foo.''${system} = (perSystem system).foo;
|
||||
perInput = system: inputFlake: inputFlake.foo.''${system};
|
||||
```
|
||||
|
||||
Transposition is the operation that swaps the indices of a data structure.
|
||||
Here it refers specifically to the transposition between
|
||||
|
||||
|
|
Loading…
Reference in a new issue