From d8dd2727bed190db7fd6609531661490cee908ac Mon Sep 17 00:00:00 2001 From: Konstantin Shabanov Date: Tue, 28 Jul 2026 18:22:44 +0700 Subject: [PATCH] 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 --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 4b671b27e..d77442d7f 100644 --- a/flake.nix +++ b/flake.nix @@ -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";