try fenix default instead of stable?

This commit is contained in:
xenofem 2025-09-25 01:16:24 -04:00
parent 2c7484b538
commit 0736bddb63

View file

@ -17,10 +17,10 @@
inherit system; inherit system;
overlays = [ fenix.overlays.default ]; overlays = [ fenix.overlays.default ];
}; };
fenixStable = fenix.packages.${system}.stable; fenixDefault = fenix.packages.${system}.default;
fenixPlatform = pkgs.makeRustPlatform { fenixPlatform = pkgs.makeRustPlatform {
cargo = fenixStable.toolchain; cargo = fenixDefault.toolchain;
rustc = fenixStable.toolchain; rustc = fenixDefault.toolchain;
}; };
in rec { in rec {
packages.${name} = pkgs.symlinkJoin { packages.${name} = pkgs.symlinkJoin {
@ -45,7 +45,7 @@
}; };
devShell = with pkgs; let devShell = with pkgs; let
fenixWith = fenixStable.withComponents [ fenixWith = fenixDefault.withComponents [
"cargo" "cargo"
"clippy" "clippy"
"rust-src" "rust-src"