New comment by namgo on void-packages repository https://github.com/void-linux/void-packages/issues/20077#issuecomment-1961884562 Comment: @atisharma I didn't consider that, good point! I think that a temporary solution for those desperate would be to install a non-system-wide gcc12 and a non-system-wide cuda, making use of environment variables? So: - download the nvidia cuda installer - download gcc12 sources - compile gcc12 with `DESTDIR` set somewhere like /opt/gcc12 - ./cuda_12.2.2_535.104.05_linux.run --extract=/opt/cuda-12.2.2/extract - (possibly link/move things around like my gist above) - set `LD_LIBRARY_PATH` and `PATH` to tell gcc and cuda where to find things But that's not something that one can/should package, so I'm pretty stuck still.