summary refs log tree commit diff
path: root/pkgs/development/python-modules/qiskit-terra
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-05-12 14:17:16 +0000
committerAlyssa Ross <hi@alyssa.is>2023-05-12 15:31:21 +0000
commit5e06b3cb197047072fc25e0eb1a507bbd7bf847e (patch)
tree1468ee6a19c687929931e6b3312b54dd0811bcdd /pkgs/development/python-modules/qiskit-terra
parentb22c35f05bee135148303428e8545aba302b5376 (diff)
downloadnixpkgs-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/qiskit-terra')
-rw-r--r--pkgs/development/python-modules/qiskit-terra/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/qiskit-terra/default.nix b/pkgs/development/python-modules/qiskit-terra/default.nix
index e46e706c865..cade2325c61 100644
--- a/pkgs/development/python-modules/qiskit-terra/default.nix
+++ b/pkgs/development/python-modules/qiskit-terra/default.nix
@@ -3,7 +3,9 @@
 , pythonOlder
 , buildPythonPackage
 , fetchFromGitHub
+, cargo
 , rustPlatform
+, rustc
   # Python requirements
 , dill
 , numpy
@@ -67,7 +69,7 @@ buildPythonPackage rec {
     hash = "sha256-imktzBpgP+lq6FsVWIUK82+t76gKTgt53kPfKOnsseQ=";
   };
 
-  nativeBuildInputs = [ setuptools-rust ] ++ (with rustPlatform; [ rust.rustc rust.cargo cargoSetupHook ]);
+  nativeBuildInputs = [ setuptools-rust rustc cargo rustPlatform.cargoSetupHook ];
 
   cargoDeps = rustPlatform.fetchCargoTarball {
     inherit src;