When following the build guide as soon as I call colcon build I get an error like this
[11.592s] ERROR:colcon.colcon_core.shell:Exception in shell extension 'sh': Expected ['.', '/home/lukas/Projects/S6/build/carla_ros_bridge/colcon_command_prefix_setup_py.sh', '&&', 'env'] to pass: /nix/store/a1s263pmsci9zykm5xcdf7x9rv26w6d5-bash-5.2p26/bin/sh: line 1: /nix/store/rk067yylvhyb7a360n8k1ps4lb4xsbl3-coreutils-9.3/bin/env: Argument list too long
Traceback (most recent call last):
File "/home/lukas/Projects/S6/.venv/lib/python3.11/site-packages/colcon_core/shell/__init__.py", line 306, in get_command_environment
return await extension.generate_command_environment(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lukas/Projects/S6/.venv/lib/python3.11/site-packages/colcon_core/shell/sh.py", line 154, in generate_command_environment
env = await get_environment_variables(cmd, cwd=str(build_base))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lukas/Projects/S6/.venv/lib/python3.11/site-packages/colcon_core/shell/__init__.py", line 342, in get_environment_variables
output = await check_output(cmd, cwd=cwd, shell=shell)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lukas/Projects/S6/.venv/lib/python3.11/site-packages/colcon_core/subprocess.py", line 129, in check_output
assert not rc, f'Expected {args} to pass: {stderr_data}'
AssertionError: Expected ['.', '/home/lukas/Projects/S6/build/carla_ros_bridge/colcon_command_prefix_setup_py.sh', '&&', 'env'] to pass: /nix/store/a1s263pmsci9zykm5xcdf7x9rv26w6d5-bash-5.2p26/bin/sh: line 1: /nix/store/rk067yylvhyb7a360n8k1ps4lb4xsbl3-coreutils-9.3/bin/env: Argument list too long
[11.592s] ERROR:colcon.colcon_ros.task.ament_python.build:Could not find a shell extension for the command environment
Failed <<< carla_ros_bridge [2.46s, exited with code 1]
When following the build guide as soon as I call colcon build I get an error like this