rekado pushed a commit to branch master
in repository guix.

commit 76ab15a7c958752b0e5de12580e88e1927891c6d
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Mon Dec 13 23:23:38 2021 +0100

    gnu: tensorflow: Do not unpack directory.
    
    * gnu/packages/machine-learning.scm (tensorflow)[arguments]: Copy Eigen 
source
    code instead of trying to unpack it.
---
 gnu/packages/machine-learning.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gnu/packages/machine-learning.scm 
b/gnu/packages/machine-learning.scm
index 3bcc6d3..58f7c7c 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1899,8 +1899,7 @@ set(eigen_INCLUDE_DIRS 
${CMAKE_CURRENT_BINARY_DIR}/external/eigen_archive "
              (invoke "tar" "xf" (assoc-ref inputs "protobuf:src")
                      "-C" "protobuf-src" "--strip-components=1")
              (mkdir-p "eigen-src")
-             (invoke "tar" "xf" (assoc-ref inputs "eigen:src")
-                     "-C" "eigen-src" "--strip-components=1")
+             (copy-recursively (assoc-ref inputs "eigen:src") "eigen-src")
 
              (substitute* "tensorflow/contrib/cmake/tf_python.cmake"
                ;; Take protobuf source files from our source package.

Reply via email to