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)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let ((coreutils (assoc-ref inputs "coreutils-minimal")))
|
(let ((coreutils (assoc-ref inputs "coreutils-minimal")))
|
||||||
(substitute* '("errfunc.c" "asco.c")
|
(substitute* '("errfunc.c" "asco.c")
|
||||||
(("cp ")
|
(("(cp|nice) " _ command)
|
||||||
(string-append coreutils "/bin/cp "))
|
(string-append
|
||||||
(("nice")
|
(search-input-file inputs (string-append "bin/" command))
|
||||||
(string-append coreutils "/bin/nice")))
|
" ")))
|
||||||
(substitute* "Makefile"
|
(substitute* "Makefile"
|
||||||
(("<FULL_PATH_TO_MPICH>/bin/mpicc") (which "mpicc"))))))
|
(("<FULL_PATH_TO_MPICH>/bin/mpicc") (which "mpicc"))))))
|
||||||
(replace 'install ; no install target
|
(replace 'install ; no install target
|
||||||
|
|
Reference in New Issue