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
|
lib.mapAttrs
|
||||||
(attrName: attrConfig:
|
(attrName: attrConfig:
|
||||||
mapAttrs
|
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.allSystems
|
||||||
)
|
)
|
||||||
config.transposition;
|
config.transposition;
|
||||||
|
|
Loading…
Reference in a new issue