From 8133e3a17ea02cc87b4258c597d6e797ba6cdcc3 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Thu, 21 Nov 2024 22:44:07 +0100 Subject: [PATCH] rust: avoid depreciated config --- modules/rust.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/modules/rust.nix b/modules/rust.nix index 173d2b1..d4b3876 100644 --- a/modules/rust.nix +++ b/modules/rust.nix @@ -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 ]; }