docs: Show equivalent for partitionedAttrs
Add a concise example showing what partitionedAttrs expands to, making it clearer how the shorthand relates to the underlying implementation.
This commit is contained in:
parent
4e627ac2e1
commit
e879f7348f
1 changed files with 4 additions and 0 deletions
|
|
@ -105,6 +105,10 @@ in
|
|||
The flake attributes are overridden with `lib.mkForce` priority.
|
||||
|
||||
See the `partitions` options to understand the purpose.
|
||||
|
||||
Example: `partitionedAttrs.devShells = "dev";`
|
||||
|
||||
Equivalent: `flake.devShells = lib.mkForce config.partitions.dev.module.flake.devShells;`
|
||||
'';
|
||||
example = {
|
||||
"devShells" = "dev";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue