treewide: don't use rustPlatform.rust

This will be deprecated in the next commit.
This commit is contained in:
Alyssa Ross
2023-05-12 15:31:21 +00:00
parent b22c35f05b
commit 5e06b3cb19
82 changed files with 410 additions and 287 deletions
@@ -1,6 +1,8 @@
{ lib
, buildPythonPackage
, cargo
, rustPlatform
, rustc
, setuptools
, setuptools-rust
, isPyPy
@@ -41,11 +43,10 @@ buildPythonPackage rec {
nativeBuildInputs = [
setuptools
setuptools-rust
] ++ (with rustPlatform; [
cargoSetupHook
rust.cargo
rust.rustc
]);
rustPlatform.cargoSetupHook
cargo
rustc
];
# Remove when https://github.com/NixOS/nixpkgs/pull/190093 lands.
buildInputs = lib.optional stdenv.isDarwin libiconv;