diff --git a/pkgs/development/python-modules/torch/bin/default.nix b/pkgs/development/python-modules/torch/bin/default.nix index c395192d0b30..3e6ae61234aa 100644 --- a/pkgs/development/python-modules/torch/bin/default.nix +++ b/pkgs/development/python-modules/torch/bin/default.nix @@ -3,7 +3,7 @@ stdenv, python, buildPythonPackage, - pythonAtLeast, + isPyPy, fetchurl, # nativeBuildInputs @@ -44,7 +44,8 @@ buildPythonPackage { format = "wheel"; - disabled = pythonAtLeast "3.15"; + # determine supported interpreters by the ones we have x86_64-linux wheels for + disabled = isPyPy || !(srcs ? "x86_64-linux-${pyVerNoDot}"); src = fetchurl srcs."${stdenv.system}-${pyVerNoDot}" or unsupported;