python39Packages.tensorflow_2-bin: fix disable logic
This commit is contained in:
parent
a7871cb54c
commit
b61df8cd97
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue