1
0
Fork 0
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:
Robert Hensing 2024-01-11 12:59:10 +01:00
parent 3a0408e3ac
commit 528a7d0cb9

View file

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