aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/tensorflow/bin.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/tensorflow/bin.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/tensorflow/bin.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/tensorflow/bin.nix b/nixpkgs/pkgs/development/python-modules/tensorflow/bin.nix
index db2308a0be8..38fec9adc7d 100644
--- a/nixpkgs/pkgs/development/python-modules/tensorflow/bin.nix
+++ b/nixpkgs/pkgs/development/python-modules/tensorflow/bin.nix
@@ -2,7 +2,7 @@
, lib
, fetchurl
, buildPythonPackage
-, isPy3k, pythonOlder
+, isPy3k, pythonOlder, isPy38
, astor
, gast
, google-pasta
@@ -51,6 +51,8 @@ in buildPythonPackage {
inherit (packages) version;
format = "wheel";
+ disabled = isPy38;
+
src = let
pyVerNoDot = lib.strings.stringAsChars (x: if x == "." then "" else x) python.pythonVersion;
pyver = if stdenv.isDarwin then builtins.substring 0 1 pyVerNoDot else pyVerNoDot;