From 76ab15a7c958752b0e5de12580e88e1927891c6d Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 13 Dec 2021 23:23:38 +0100 Subject: 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 3bcc6d3df4..58f7c7c013 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. -- cgit v1.2.3