python39Packages.tensorflow_1-bin: fix disable logic

This commit is contained in:
Jonathan Ringer 2020-11-10 15:29:48 -08:00
parent 976062ebd6
commit a7871cb54c
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0

View File

@ -2,7 +2,7 @@
, lib , lib
, fetchurl , fetchurl
, buildPythonPackage , buildPythonPackage
, isPy3k, pythonOlder, isPy38 , isPy3k, pythonOlder, pythonAtLeast
, astor , astor
, gast , gast
, google-pasta , google-pasta
@ -50,8 +50,7 @@ in buildPythonPackage {
inherit pname; inherit pname;
inherit (packages) version; inherit (packages) version;
format = "wheel"; format = "wheel";
disabled = pythonAtLeast "3.8";
disabled = isPy38;
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;