rust: avoid depreciated config

This commit is contained in:
Daniel Langbein 2024-11-21 22:44:07 +01:00
parent 2d93fbf2c6
commit 8133e3a17e
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002

View File

@ -10,13 +10,18 @@ let
# #"wasm32-unknown-unknown" # #"wasm32-unknown-unknown"
#]; #];
}; };
rustPlatform = pkgs.makeRustPlatform {
cargo = rustVersion; # This is depreciated.
rustc = rustVersion; #rustPlatform = pkgs.makeRustPlatform {
}; # cargo = rustVersion;
# rustc = rustVersion;
#};
in in
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
rustPlatform.rust.cargo # This is depreciated.
#rustPlatform.rust.cargo
rustVersion
]; ];
} }