diff options
Diffstat (limited to 'pkgs/development/python-modules/json-stream-rs-tokenizer/default.nix')
-rw-r--r-- | pkgs/development/python-modules/json-stream-rs-tokenizer/default.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/json-stream-rs-tokenizer/default.nix b/pkgs/development/python-modules/json-stream-rs-tokenizer/default.nix index 1bcfe740952..513bf89cfc0 100644 --- a/pkgs/development/python-modules/json-stream-rs-tokenizer/default.nix +++ b/pkgs/development/python-modules/json-stream-rs-tokenizer/default.nix @@ -2,6 +2,8 @@ , buildPythonPackage , fetchFromGitHub , rustPlatform +, cargo +, rustc , setuptools-rust , json-stream-rs-tokenizer , json-stream @@ -31,12 +33,10 @@ buildPythonPackage rec { nativeBuildInputs = [ setuptools-rust - ] - ++ (with rustPlatform; [ - cargoSetupHook - rust.cargo - rust.rustc - ]); + rustPlatform.cargoSetupHook + cargo + rustc + ]; # Tests depend on json-stream, which depends on this package. # To avoid infinite recursion, we only enable tests when building passthru.tests. |