aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2022-05-22 02:00:03 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2022-05-22 02:00:10 +0200
commit182956b99d1263385e10cc0d43c8b10a2e0ff9c6 (patch)
treed2f57fad7680271e7a0b725b82a261bd3327e8da
parent362be0b7f8715c259f144f24d498b0b99ffc75e4 (diff)
downloadguix-182956b99d1263385e10cc0d43c8b10a2e0ff9c6.tar.gz
guix-182956b99d1263385e10cc0d43c8b10a2e0ff9c6.zip
gnu: asco: Use SEARCH-INPUT-FILE.
* gnu/packages/engineering.scm (asco)[arguments]: Use SEARCH-INPUT-FILE.
-rw-r--r--gnu/packages/engineering.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 47422dd97d..d19fde7ca4 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -1751,10 +1751,10 @@ it suitable for security research and analysis.")
(lambda* (#:key inputs #:allow-other-keys)
(let ((coreutils (assoc-ref inputs "coreutils-minimal")))
(substitute* '("errfunc.c" "asco.c")
- (("cp ")
- (string-append coreutils "/bin/cp "))
- (("nice")
- (string-append coreutils "/bin/nice")))
+ (("(cp|nice) " _ command)
+ (string-append
+ (search-input-file inputs (string-append "bin/" command))
+ " ")))
(substitute* "Makefile"
(("<FULL_PATH_TO_MPICH>/bin/mpicc") (which "mpicc"))))))
(replace 'install ; no install target