[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/07: gnu: rename: Update to 1.00.
From: |
Tobias Geerinckx-Rice |
Subject: |
06/07: gnu: rename: Update to 1.00. |
Date: |
Mon, 24 Sep 2018 12:18:17 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit e6dcf9ca5f386c98fc03093032d65559c03164e2
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Mon Sep 24 13:11:24 2018 +0200
gnu: rename: Update to 1.00.
* gnu/packages/admin.scm (rename): Update to 1.00.
[arguments]: Wrap executable to find its own library.
---
gnu/packages/admin.scm | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index e7e34ab..8f504ca 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -869,7 +869,7 @@ over ssh connections.")
(define-public rename
(package
(name "rename")
- (version "0.35")
+ (version "1.00")
(source (origin
(method url-fetch)
(uri (string-append
@@ -877,8 +877,24 @@ over ssh connections.")
version ".tar.gz"))
(sha256
(base32
- "052iqmn7ya3w1nadpiyavmr3rx566r0lbflx94y8b5wx9q5c16rq"))))
+ "03yhf8nmqsb0zyliv501fdvwlp589jqfn44yqkrflmpzrbik3zxl"))))
(build-system perl-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'install 'find-itself
+ ;; Fix run-time 'Can't locate File/Rename.pm in @INC' failure.
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin")))
+ (with-directory-excursion bin
+ (for-each
+ (lambda (program)
+ (wrap-program program
+ `("PERL5LIB" ":" prefix
+ (,(string-append out "/lib/perl5/site_perl")))))
+ (find-files "." ".*")))
+ #t))))))
(native-inputs
`(("perl-module-build" ,perl-module-build)
("perl-test-pod" ,perl-test-pod)
- branch master updated (0001478 -> a68b451), Tobias Geerinckx-Rice, 2018/09/24
- 04/07: gnu: gloox: Update to 1.0.21., Tobias Geerinckx-Rice, 2018/09/24
- 05/07: gnu: lxterminal: Update to 0.3.2., Tobias Geerinckx-Rice, 2018/09/24
- 03/07: gnu: libmesode: Update to 0.9.2., Tobias Geerinckx-Rice, 2018/09/24
- 07/07: gnu: Add gandi.cli., Tobias Geerinckx-Rice, 2018/09/24
- 01/07: gnu: ocaml-ssl: Don't use unstable tarball., Tobias Geerinckx-Rice, 2018/09/24
- 02/07: gnu: libmesode: Don't use unstable tarball., Tobias Geerinckx-Rice, 2018/09/24
- 06/07: gnu: rename: Update to 1.00.,
Tobias Geerinckx-Rice <=