mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2024-12-14 11:47:31 +00:00
transposition: Explain incomplete usage of transposition
Abort because this is a clear programming error, that should never be caught.
This commit is contained in:
parent
3a0408e3ac
commit
528a7d0cb9
1 changed files with 4 additions and 1 deletions
|
@ -101,7 +101,10 @@ in
|
|||
lib.mapAttrs
|
||||
(attrName: attrConfig:
|
||||
mapAttrs
|
||||
(system: v: v.${attrName})
|
||||
(system: v: v.${attrName} or (
|
||||
abort ''
|
||||
Could not find option ${attrName} in the perSystem module. It is required to declare such an option whenever transposition.<name> is defined (and in this instance <name> is ${attrName}).
|
||||
''))
|
||||
config.allSystems
|
||||
)
|
||||
config.transposition;
|
||||
|
|
Loading…
Reference in a new issue