[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/13: gnu: src: Add bash-minimal to inputs, use gexps.
From: |
guix-commits |
Subject: |
05/13: gnu: src: Add bash-minimal to inputs, use gexps. |
Date: |
Fri, 20 Oct 2023 00:24:49 -0400 (EDT) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit d7cb4817c72c3c4e0887cdfb778850b2f3dcde98
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Thu Oct 19 23:56:46 2023 -0400
gnu: src: Add bash-minimal to inputs, use gexps.
* gnu/packages/version-control.scm (src)
[arguments]: Use gexps.
[inputs]: Add bash-minimal.
Change-Id: I122b0c496792a5dea731c2e70d32cba7286df0b1
---
gnu/packages/version-control.scm | 44 ++++++++++++++++++++--------------------
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 98e64139c3..1f05e132dc 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -2959,32 +2959,32 @@ specific files and directories.")
"0r9i399kkagpwj08nwf1f7c6lr50xjzzgmzwyjjy6ppgcc53a809"))))
(build-system gnu-build-system)
(arguments
- '(#:make-flags
- (list (string-append "prefix=" (assoc-ref %outputs "out")))
- #:phases
- (modify-phases %standard-phases
- (delete 'configure) ; no 'configure' script
- (add-after 'install 'wrap-program
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (prog (string-append out "/bin/src"))
- (rcs (assoc-ref inputs "rcs")))
- (wrap-program prog
- `("PATH" ":" prefix (,(string-append rcs "/bin"))))
- #t)))
- (replace 'check
- (lambda _
- (setenv "HOME" (getenv "TMPDIR"))
- (invoke "git" "config" "--global" "user.name" "guix")
- (invoke "git" "config" "--global" "user.email" "guix")
- (invoke "./srctest"))))))
+ (list
+ #:make-flags
+ #~(list (string-append "prefix=" #$output))
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure) ; no 'configure' script
+ (add-after 'install 'wrap-program
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let* ((prog (string-append #$output "/bin/src"))
+ (rcs (search-input-file inputs "bin/rcs")))
+ (wrap-program prog
+ `("PATH" ":" prefix (,(dirname rcs)))))))
+ (replace 'check
+ (lambda _
+ (setenv "HOME" (getenv "TMPDIR"))
+ (invoke "git" "config" "--global" "user.name" "guix")
+ (invoke "git" "config" "--global" "user.email" "guix")
+ (invoke "./srctest"))))))
(native-inputs
;; For testing.
(list git perl))
(inputs
- `(("cssc" ,cssc)
- ("python" ,python-wrapper)
- ("rcs" ,rcs)))
+ (list bash-minimal
+ cssc
+ python-wrapper
+ rcs))
(synopsis "Simple revision control")
(home-page "http://www.catb.org/~esr/src/")
(description
- branch core-updates updated (6d10ec739d -> a6a39b30fc), guix-commits, 2023/10/20
- 02/13: gnu: gitless: Add bash-minimal to inputs, use gexps., guix-commits, 2023/10/20
- 01/13: gnu: git: Add bash-minimal to inputs., guix-commits, 2023/10/20
- 04/13: gnu: myrepos: Add bash-minimal to inputs., guix-commits, 2023/10/20
- 08/13: gnu: git-open: Add bash-minimal to inputs., guix-commits, 2023/10/20
- 10/13: gnu: tkrev: Add bash-minimal to inputs., guix-commits, 2023/10/20
- 07/13: gnu: git-imerge: Add bash-minimal to inputs., guix-commits, 2023/10/20
- 13/13: gnu: udiskie: Make bash-minimal input unconditional., guix-commits, 2023/10/20
- 09/13: gnu: diff-so-fancy: Add bash-minimal to inputs., guix-commits, 2023/10/20
- 05/13: gnu: src: Add bash-minimal to inputs, use gexps.,
guix-commits <=
- 06/13: gnu: git-when-merged: Add bash-minimal to inputs., guix-commits, 2023/10/20
- 11/13: gnu: udisks: Make bash-minimal input unconditional., guix-commits, 2023/10/20
- 03/13: gnu: gitile: Add bash-minimal to inputs, use gexps., guix-commits, 2023/10/20
- 12/13: gnu: perl-file-mimeinfo: Make bash-minimal input unconditional., guix-commits, 2023/10/20