me
/
guix
Archived
1
0
Fork 0

gnu: asco: Use SEARCH-INPUT-FILE.

* gnu/packages/engineering.scm (asco)[arguments]: Use SEARCH-INPUT-FILE.
master
Tobias Geerinckx-Rice 2022-05-22 02:00:03 +02:00
parent 362be0b7f8
commit 182956b99d
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 4 additions and 4 deletions

View File

@ -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