Upgrade C compiler version

Describe your feature request
I would like to be able to upgrade the C / C++ compilers in repl.it to a newer version.
What problem(s) would this feature solve?
The current version of GCC used is 10.3.0, which released almost two years ago, and the highest version of Clang available (installed through the Swift package) is 10.0.0, which was released almost three years ago. Optimizations have gotten better and options to the compiler have been updated in the last few years, but repl.it can’t take advantage of these.
Explain what you were trying to do when you came across the problem leading to this feature request
Compile a project in C.

1 Like

I believe you can get a more up-to-date version using Nix.

How would that be installed? Using nix-shell -p gcc12 or adding pkgs.gcc12 to replit.nix doesn’t work. The same happens with other packages.