python39Packages.tensorflow_2-bin: fix disable logic

This commit is contained in:
Jonathan Ringer 2020-11-10 17:53:48 -08:00
parent a7871cb54c
commit b61df8cd97
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
, lib , lib
, fetchurl , fetchurl
, buildPythonPackage , buildPythonPackage
, isPy3k, pythonOlder, isPy38 , isPy3k, pythonOlder, pythonAtLeast, isPy38
, astor , astor
, gast , gast
, google-pasta , google-pasta
@ -54,7 +54,7 @@ in buildPythonPackage {
inherit (packages) version; inherit (packages) version;
format = "wheel"; format = "wheel";
disabled = isPy38; disabled = pythonAtLeast "3.8";
src = let src = let
pyVerNoDot = lib.strings.stringAsChars (x: if x == "." then "" else x) python.pythonVersion; pyVerNoDot = lib.strings.stringAsChars (x: if x == "." then "" else x) python.pythonVersion;