treewide: don't use rustPlatform.rust

This will be deprecated in the next commit.
This commit is contained in:
Alyssa Ross 2023-05-12 14:17:16 +00:00
parent b22c35f05b
commit 5e06b3cb19
82 changed files with 410 additions and 287 deletions

View file

@ -535,7 +535,9 @@ directory of the `tokenizers` project's source archive, we use
```nix
{ fetchFromGitHub
, buildPythonPackage
, cargo
, rustPlatform
, rustc
, setuptools-rust
}:
@ -558,11 +560,12 @@ buildPythonPackage rec {
sourceRoot = "source/bindings/python";
nativeBuildInputs = [ setuptools-rust ] ++ (with rustPlatform; [
cargoSetupHook
rust.cargo
rust.rustc
]);
nativeBuildInputs = [
cargo
rustPlatform.cargoSetupHook
rustc
setuptools-rust
];
# ...
}