diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-05-12 14:17:16 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-05-12 15:31:21 +0000 |
commit | 5e06b3cb197047072fc25e0eb1a507bbd7bf847e (patch) | |
tree | 1468ee6a19c687929931e6b3312b54dd0811bcdd /pkgs/development/python-modules/tokenizers/default.nix | |
parent | b22c35f05bee135148303428e8545aba302b5376 (diff) | |
download | nixpkgs-5e06b3cb197047072fc25e0eb1a507bbd7bf847e.tar nixpkgs-5e06b3cb197047072fc25e0eb1a507bbd7bf847e.tar.gz nixpkgs-5e06b3cb197047072fc25e0eb1a507bbd7bf847e.tar.bz2 nixpkgs-5e06b3cb197047072fc25e0eb1a507bbd7bf847e.tar.lz nixpkgs-5e06b3cb197047072fc25e0eb1a507bbd7bf847e.tar.xz nixpkgs-5e06b3cb197047072fc25e0eb1a507bbd7bf847e.tar.zst nixpkgs-5e06b3cb197047072fc25e0eb1a507bbd7bf847e.zip |
treewide: don't use rustPlatform.rust
This will be deprecated in the next commit.
Diffstat (limited to 'pkgs/development/python-modules/tokenizers/default.nix')
-rw-r--r-- | pkgs/development/python-modules/tokenizers/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/tokenizers/default.nix b/pkgs/development/python-modules/tokenizers/default.nix index 3f85893ad7c..a94a1205e12 100644 --- a/pkgs/development/python-modules/tokenizers/default.nix +++ b/pkgs/development/python-modules/tokenizers/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , buildPythonPackage +, cargo , datasets , fetchFromGitHub , fetchurl @@ -12,6 +13,7 @@ , pythonOlder , requests , rustPlatform +, rustc , Security , setuptools-rust }: @@ -82,11 +84,10 @@ buildPythonPackage rec { nativeBuildInputs = [ pkg-config setuptools-rust - ] ++ (with rustPlatform; [ - cargoSetupHook - rust.cargo - rust.rustc - ]); + rustPlatform.cargoSetupHook + cargo + rustc + ]; buildInputs = [ openssl |