aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/machine-learning.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-07-16 15:49:34 +0200
committerLudovic Courtès <ludo@gnu.org>2021-07-24 16:23:22 +0200
commit1ec13efbd214c0995c73d0a41b63552582fde8ea (patch)
tree81c7285f9ea1c62915030b0c1fcb46b055dc639c /gnu/packages/machine-learning.scm
parentae112039ac8e0562923b9bf6a1e474cdd4513af5 (diff)
downloadguix-1ec13efbd214c0995c73d0a41b63552582fde8ea.tar
guix-1ec13efbd214c0995c73d0a41b63552582fde8ea.tar.gz
gnu: Use 'search-input-directory' for the Eigen header directory.
* gnu/packages/bioinformatics.scm (sailfish)[arguments]: Use 'search-input-directory' when searching for Eigen headers. * gnu/packages/bioinformatics.scm (nanopolish): Likewise. * gnu/packages/machine-learning.scm (tensorflow): Likewise.
Diffstat (limited to 'gnu/packages/machine-learning.scm')
-rw-r--r--gnu/packages/machine-learning.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 367d7495ce..74742df442 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1732,7 +1732,7 @@ set(eigen_INCLUDE_DIRS ${CMAKE_CURRENT_BINARY_DIR}/external/eigen_archive "
(string-append (getcwd) "/eigen-src/"))
;; Take Eigen headers from our own package.
(("\\$\\{CMAKE_CURRENT_BINARY_DIR\\}/external/eigen_archive")
- (string-append (assoc-ref inputs "eigen") "/include/eigen3")))
+ (search-input-directory inputs "/include/eigen3")))
;; Correct the RUNPATH of ops libraries generated for Python.
;; TODO: this doesn't work :(