summary refs log tree commit diff
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@sap.com>2022-08-30 18:17:47 +0200
committerSandro Jäckel <sandro.jaeckel@gmail.com>2022-09-04 14:15:21 +0200
commitd1be027e2dd7876441bb5ce209c3f57dc7333d38 (patch)
tree7219f628c14dc79ca6feb2412cc921f0ef4f27c7
parenta97ba67bf71b1c35ae87b0d8ecfde80e7a827752 (diff)
downloadnixpkgs-d1be027e2dd7876441bb5ce209c3f57dc7333d38.tar
nixpkgs-d1be027e2dd7876441bb5ce209c3f57dc7333d38.tar.gz
nixpkgs-d1be027e2dd7876441bb5ce209c3f57dc7333d38.tar.bz2
nixpkgs-d1be027e2dd7876441bb5ce209c3f57dc7333d38.tar.lz
nixpkgs-d1be027e2dd7876441bb5ce209c3f57dc7333d38.tar.xz
nixpkgs-d1be027e2dd7876441bb5ce209c3f57dc7333d38.tar.zst
nixpkgs-d1be027e2dd7876441bb5ce209c3f57dc7333d38.zip
python310Packages.qiskit-machine-learning: remove package variant
-rw-r--r--pkgs/development/python-modules/qiskit-machine-learning/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/qiskit-machine-learning/default.nix b/pkgs/development/python-modules/qiskit-machine-learning/default.nix
index ea4ae3bb343..e4761dc33b0 100644
--- a/pkgs/development/python-modules/qiskit-machine-learning/default.nix
+++ b/pkgs/development/python-modules/qiskit-machine-learning/default.nix
@@ -11,8 +11,6 @@
 , qiskit-terra
 , scikit-learn
 , sparse
-  # Optional inputs
-, withTorch ? true
 , torch
   # Check Inputs
 , pytestCheckHook
@@ -38,10 +36,11 @@ buildPythonPackage rec {
     fastdtw
     numpy
     psutil
+    torch
     qiskit-terra
     scikit-learn
     sparse
-  ] ++ lib.optional withTorch torch;
+  ];
 
   doCheck = false;  # TODO: enable. Tests fail on unstable due to some multithreading issue?
   checkInputs = [