gnu: moreutils: Fix missing library.
* gnu/packages/moreutils.scm (moreutils): Fix missing library. [arguments]<#:phases>{wrap-program}: Set Perl library path for all scripts. [inputs]: Add perl-ipc-run. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>master
parent
a7f63acfb7
commit
c7dc58b1f0
|
@ -49,9 +49,11 @@
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'install 'wrap-program
|
(add-after 'install 'wrap-program
|
||||||
(lambda _
|
(lambda _
|
||||||
(wrap-program
|
(for-each
|
||||||
(string-append #$output "/bin/ts")
|
(lambda (script)
|
||||||
`("PERL5LIB" ":" prefix (,(getenv "PERL5LIB"))))))
|
(wrap-program script
|
||||||
|
`("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))))
|
||||||
|
(find-files (string-append #$output "/bin")))))
|
||||||
(delete 'configure)) ; no configure script
|
(delete 'configure)) ; no configure script
|
||||||
#:make-flags
|
#:make-flags
|
||||||
#~(list (string-append "PREFIX=" #$output)
|
#~(list (string-append "PREFIX=" #$output)
|
||||||
|
@ -63,6 +65,7 @@
|
||||||
(string-append "CC=" #$(cc-for-target)))))
|
(string-append "CC=" #$(cc-for-target)))))
|
||||||
(inputs
|
(inputs
|
||||||
(list perl
|
(list perl
|
||||||
|
perl-ipc-run
|
||||||
perl-timedate
|
perl-timedate
|
||||||
perl-time-duration))
|
perl-time-duration))
|
||||||
;; For building the manual pages.
|
;; For building the manual pages.
|
||||||
|
|
Reference in New Issue