Merge pull request #311 from hercules-ci/partition-doc

docs: Show equivalent for partitionedAttrs
This commit is contained in:
Robert Hensing 2025-10-20 10:28:11 +02:00 committed by GitHub
commit 864599284f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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";