As has been pointed out, you can't decide which variables are important based on their size.
What about, after sorting by size, it only imports special variables first, and only then the others?
(In my case, it would mostly remove `NIXPKGS_QT6_QML_IMPORT_PATH`.)
Something like this: https://gitlab.winehq.org/tinozzo123/wine/-/commit/8c230ad92ce9f61c1f6402c85...
Importing _something_ is better than nothing, and this achieves the goal of keeping popular configuration envars like `DXVK_FRAME_RATE`. IMO, it is absolutely worth the code bloat.