with structuredAttrs lists will be bash arrays which cannot be exported which will be a issue with some patches and some wrappers like cc-wrapper this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists in env cause a eval failure
The first two patches are needed for mapbox-gl-qml. The third patch is required when building without the vendored rapidjson.