mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
distro: dejagnu: Add expect' in the search path of
runtest'.
* distro/packages/dejagnu.scm (dejagnu): In `check' phase, change `PATH' in `runtest', to avoid "expect not found in PATH" error.
This commit is contained in:
parent
39224d94e3
commit
75abd8ab23
1 changed files with 4 additions and 3 deletions
|
@ -68,9 +68,10 @@ (define-public dejagnu
|
|||
(let ((out (assoc-ref outputs "out"))
|
||||
(expect (assoc-ref inputs "expect")))
|
||||
(substitute* (string-append out "/bin/runtest")
|
||||
(("expectbin=expect")
|
||||
(string-append "expectbin="
|
||||
expect "/bin/expect")))))
|
||||
(("^mypath.*$" all)
|
||||
(string-append all
|
||||
"export PATH="
|
||||
expect "/bin:$PATH\n")))))
|
||||
%standard-phases))))
|
||||
(home-page
|
||||
"http://www.gnu.org/software/dejagnu/")
|
||||
|
|
Loading…
Reference in a new issue