mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: surfraw: Point to the correct Perl executable.
* gnu/packages/web.scm (surfraw)[arguments]: Hardcode the path to Perl in a 'patch-perl' phase. Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
parent
ab2a4f8884
commit
72687ca5d2
1 changed files with 7 additions and 0 deletions
|
@ -4765,6 +4765,13 @@ (define-public surfraw
|
|||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'configure 'patch-perl
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((perl (assoc-ref inputs "perl")))
|
||||
(substitute* "surfraw.IN"
|
||||
(("perl -e")
|
||||
(string-append perl "/bin/perl -e")))
|
||||
#t)))
|
||||
(add-after 'install 'compress-elvi.1sr
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; The manpages of the elvis are symlinks to elvi.1sr.gz
|
||||
|
|
Loading…
Reference in a new issue