aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/maths.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-07-16 15:47:51 +0200
committerLudovic Courtès <ludo@gnu.org>2021-07-24 16:23:22 +0200
commitae112039ac8e0562923b9bf6a1e474cdd4513af5 (patch)
treeb441ad7ae3c981f2ea19e7f3c734f3c29048d7e9 /gnu/packages/maths.scm
parent00d1ccaf1275df3b90198f3a4a52aaf9a16cac0e (diff)
downloadguix-ae112039ac8e0562923b9bf6a1e474cdd4513af5.tar
guix-ae112039ac8e0562923b9bf6a1e474cdd4513af5.tar.gz
gnu: Use 'search-input-file' when searching for Automake files.
* gnu/packages/audio.scm (libsbsms)[arguments]: Use 'search-input-file' when searching for Automake file. * gnu/packages/maths.scm (hdf-java): Likewise.
Diffstat (limited to 'gnu/packages/maths.scm')
-rw-r--r--gnu/packages/maths.scm10
1 files changed, 6 insertions, 4 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 1726adedb8..0bfc6ef8c2 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1353,10 +1353,12 @@ extremely large and complex data collections.")
(with-directory-excursion "config"
(for-each (lambda (file)
(install-file
- (string-append (assoc-ref inputs "automake")
- "/share/automake-"
- ,(version-major+minor (package-version automake))
- "/" file) "."))
+ (search-input-file inputs
+ (string-append
+ "/share/automake-"
+ ,(version-major+minor (package-version automake))
+ "/" file))
+ "."))
'("config.sub" "config.guess")))
;; Fix embedded version number