diff --git a/lib/python/qmk/commands.py b/lib/python/qmk/commands.py index ad73fc58d16..4017f901eae 100644 --- a/lib/python/qmk/commands.py +++ b/lib/python/qmk/commands.py @@ -197,6 +197,9 @@ def compile_configurator_json(user_keymap, bootloader=None, parallel=1, clean=Fa 'QMK_BIN="qmk"', ]) + if HAS_QMK_USERSPACE: + make_command.append(f'QMK_USERSPACE={Path(QMK_USERSPACE).resolve()}') + for key, value in env_vars.items(): make_command.append(f'{key}={value}')