nix: native: Downgrade gcc to 14

Use the same version as in trixie for consistency.
Also, fixes libgmp compilation:

checking compiler gcc -O2 -pedantic -fomit-frame-pointer  -I/mnt/redox/recipes/libs/libgmp/target/x86_64-unknown-linux-gnu/x86_64-unknown-redox/sysroot/include... no, long long reliability test 1
configure: error: could not find a working compiler, see config.log for details
redoxer env: exit status: 1
cook host:libgmp - failed
This commit is contained in:
Konstantin Shabanov 2026-07-28 18:22:44 +07:00
parent 3e15ec059f
commit d8dd2727be

View File

@ -101,7 +101,7 @@
};
#TODO: This isn't tested yet, use at your own risk
native = pkgs.mkShell rec {
native = (pkgs.mkShell.override { stdenv = pkgs.gcc14Stdenv; }) rec {
nativeBuildInputs =
let
autoreconf269 = pkgs.writeShellScriptBin "autoreconf2.69" "${pkgs.autoconf269}/bin/autoreconf";