gnu: asco: Use SEARCH-INPUT-FILE.
* gnu/packages/engineering.scm (asco)[arguments]: Use SEARCH-INPUT-FILE.master
parent
362be0b7f8
commit
182956b99d
|
@ -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
|
||||
|
|
Reference in New Issue