mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-23 22:19:33 +01:00
rust: avoid depreciated config
This commit is contained in:
parent
2d93fbf2c6
commit
8133e3a17e
@ -10,13 +10,18 @@ let
|
||||
# #"wasm32-unknown-unknown"
|
||||
#];
|
||||
};
|
||||
rustPlatform = pkgs.makeRustPlatform {
|
||||
cargo = rustVersion;
|
||||
rustc = rustVersion;
|
||||
};
|
||||
|
||||
# This is depreciated.
|
||||
#rustPlatform = pkgs.makeRustPlatform {
|
||||
# cargo = rustVersion;
|
||||
# rustc = rustVersion;
|
||||
#};
|
||||
in
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
rustPlatform.rust.cargo
|
||||
# This is depreciated.
|
||||
#rustPlatform.rust.cargo
|
||||
|
||||
rustVersion
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user