summary refs log tree commit diff
path: root/gnu/packages/machine-learning.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-07-19 14:57:06 +0200
committerMarius Bakke <mbakke@fastmail.com>2019-07-19 14:57:06 +0200
commit0fdec2a309bfc9c62b449524e3e71714674bca6e (patch)
treeddff6adbc273b58b0e57ce30dbc6594efa78d8b7 /gnu/packages/machine-learning.scm
parent04842543e8231d99aad4c8ec232f41272886fbd1 (diff)
downloadguix-0fdec2a309bfc9c62b449524e3e71714674bca6e.tar.gz
gnu: tensorflow: Provide older setuptools version.
* gnu/packages/python-xyz.scm (python-setuptools-for-tensorflow): New public
variable.
* gnu/packages/machine-learning.scm (tensorflow)[native-inputs]: Add it.
Diffstat (limited to 'gnu/packages/machine-learning.scm')
-rw-r--r--gnu/packages/machine-learning.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index ace52b4c9d..e3c69948e2 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1604,6 +1604,9 @@ INSTALL_RPATH " (assoc-ref outputs "out") "/lib)\n")))
        ("protobuf:native" ,protobuf-next) ; protoc
        ("protobuf:src" ,(package-source protobuf-next))
        ("eigen:src" ,(package-source eigen-for-tensorflow))
+       ;; install_pip_packages.sh wants setuptools 39.1.0 specifically.
+       ("python-setuptools" ,python-setuptools-for-tensorflow)
+
        ;; The commit hashes and URLs for third-party source code are taken
        ;; from "tensorflow/workspace.bzl".
        ("boringssl-src"