mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
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
This commit is contained in:
parent
0f0ec73ac8
commit
68d26688ea
1 changed files with 22 additions and 22 deletions
|
@ -3363,19 +3363,18 @@ (define-public src
|
|||
"0r9i399kkagpwj08nwf1f7c6lr50xjzzgmzwyjjy6ppgcc53a809"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:make-flags
|
||||
(list (string-append "prefix=" (assoc-ref %outputs "out")))
|
||||
(list
|
||||
#:make-flags
|
||||
#~(list (string-append "prefix=" #$output))
|
||||
#:phases
|
||||
(modify-phases %standard-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")))
|
||||
(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 (,(string-append rcs "/bin"))))
|
||||
#t)))
|
||||
`("PATH" ":" prefix (,(dirname rcs)))))))
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(setenv "HOME" (getenv "TMPDIR"))
|
||||
|
@ -3386,9 +3385,10 @@ (define-public src
|
|||
;; 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
|
||||
|
|
Loading…
Reference in a new issue