[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: moreutils: Fix missing library.
From: |
guix-commits |
Subject: |
branch master updated: gnu: moreutils: Fix missing library. |
Date: |
Fri, 27 Jan 2023 21:38:07 -0500 |
This is an automated email from the git hooks/post-receive script.
iyzsong pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new c7dc58b1f0 gnu: moreutils: Fix missing library.
c7dc58b1f0 is described below
commit c7dc58b1f068a8c1e72e049eff36b9771fca5ffb
Author: Greg Hogan <code@greghogan.com>
AuthorDate: Fri Jan 13 21:24:26 2023 +0000
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>
---
gnu/packages/moreutils.scm | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/moreutils.scm b/gnu/packages/moreutils.scm
index 5c9560530b..4b0b617bde 100644
--- a/gnu/packages/moreutils.scm
+++ b/gnu/packages/moreutils.scm
@@ -49,9 +49,11 @@
#~(modify-phases %standard-phases
(add-after 'install 'wrap-program
(lambda _
- (wrap-program
- (string-append #$output "/bin/ts")
- `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB"))))))
+ (for-each
+ (lambda (script)
+ (wrap-program script
+ `("PERL5LIB" ":" prefix (,(getenv "PERL5LIB")))))
+ (find-files (string-append #$output "/bin")))))
(delete 'configure)) ; no configure script
#:make-flags
#~(list (string-append "PREFIX=" #$output)
@@ -63,6 +65,7 @@
(string-append "CC=" #$(cc-for-target)))))
(inputs
(list perl
+ perl-ipc-run
perl-timedate
perl-time-duration))
;; For building the manual pages.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: moreutils: Fix missing library.,
guix-commits <=