about summary refs log tree commit diff
path: root/pkgs/development/python-modules/tensorflow
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2020-11-10 15:29:48 -0800
committerJonathan Ringer <jonringer117@gmail.com>2020-11-10 15:29:48 -0800
commita7871cb54ce021e415d71508b2996de6b293f683 (patch)
treef931ff1279c464c4f5461c0e0ef046efc55b2605 /pkgs/development/python-modules/tensorflow
parent976062ebd6728d63509e007245de97325dd5b19c (diff)
python39Packages.tensorflow_1-bin: fix disable logic
Diffstat (limited to 'pkgs/development/python-modules/tensorflow')
-rw-r--r--pkgs/development/python-modules/tensorflow/1/bin.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/tensorflow/1/bin.nix b/pkgs/development/python-modules/tensorflow/1/bin.nix
index 9bd2bc78437a9..5c93e957f7c1d 100644
--- a/pkgs/development/python-modules/tensorflow/1/bin.nix
+++ b/pkgs/development/python-modules/tensorflow/1/bin.nix
@@ -2,7 +2,7 @@
 , lib
 , fetchurl
 , buildPythonPackage
-, isPy3k, pythonOlder, isPy38
+, isPy3k, pythonOlder, pythonAtLeast
 , astor
 , gast
 , google-pasta
@@ -50,8 +50,7 @@ in buildPythonPackage {
   inherit pname;
   inherit (packages) version;
   format = "wheel";
-
-  disabled = isPy38;
+  disabled = pythonAtLeast "3.8";
 
   src = let
     pyVerNoDot = lib.strings.stringAsChars (x: if x == "." then "" else x) python.pythonVersion;