im trying to build firmware for my custom keyboard but the build fails with this error
/tmp/zmk-config/zmk/app/src/physical_layouts.c: In function 'zmk_physical_layouts_get_list':
/tmp/zmk-config/zmk/app/src/physical_layouts.c:160:22: error: 'layouts' undeclared (first use in this function)
160 | *dest_layouts = &layouts[0];
| ^~~~~~~
compilation terminated due to -Wfatal-errors.
[15/528] Building C object CMakeFiles/app.dir/src/event_manager.c.obj
[16/528] Building C object CMakeFiles/app.dir/src/activity.c.obj
[17/528] Building C object CMakeFiles/app.dir/src/behavior.c.obj
[18/528] Building C object CMakeFiles/app.dir/src/sensors.c.obj
[19/528] Building C object CMakeFiles/app.dir/src/ext_power_generic.c.obj
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /usr/local/bin/cmake --build /tmp/tmp.BHoK0k1WSo
Error: Process completed with exit code 1.```
https://github.com/notimadam123/zmk-config/actions/runs/13842422867/job/38732885163
https://github.com/notimadam123/zmk-config/