about summary refs log tree commit diff
path: root/pkgs/development/python-modules/torch/bin.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/torch/bin.nix')
-rw-r--r--pkgs/development/python-modules/torch/bin.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/torch/bin.nix b/pkgs/development/python-modules/torch/bin.nix
index 7a4756e905ccb..9b12470cdde8c 100644
--- a/pkgs/development/python-modules/torch/bin.nix
+++ b/pkgs/development/python-modules/torch/bin.nix
@@ -68,7 +68,7 @@ in buildPythonPackage {
     jinja2
     networkx
     filelock
-  ] ++ lib.optionals stdenv.isx86_64 [
+  ] ++ lib.optionals (stdenv.isLinux && stdenv.isx86_64) [
     openai-triton
   ];