Update rust

This commit is contained in:
Lillian Violet 2024-02-08 12:58:54 +01:00
parent 0a6ced660d
commit cbb47e6c2e

View file

@ -27,7 +27,10 @@
then rust.fromRustupToolchainFile ./rust-toolchain.toml
else if builtins.pathExists ./rust-toolchain
then rust.fromRustupToolchainFile ./rust-toolchain
else rust.stable.latest.default;
else
rust.stable.latest.default.override {
extensions = [ "rust-src" "rustfmt" ];
};
})
];
supportedSystems = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];