mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 14:52:05 -05:00
gnu: diff-so-fancy: Update to 1.4.3.
* gnu/packages/version-control.scm (diff-so-fancy): Update to 1.4.3. [arguments]: Don't explicitly return #t from phases.
This commit is contained in:
parent
6a3900e75b
commit
cfee80cc91
1 changed files with 4 additions and 6 deletions
|
@ -3024,7 +3024,7 @@ (define-public tla
|
|||
(define-public diff-so-fancy
|
||||
(package
|
||||
(name "diff-so-fancy")
|
||||
(version "1.4.2")
|
||||
(version "1.4.3")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
|
@ -3033,7 +3033,7 @@ (define-public diff-so-fancy
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0q0byg2bpibl3lbn4zibwcfxzlx2x5krajxmpwgizf32qjp5lh6n"))))
|
||||
"11vkq5njjlvjipic7db44ga875n61drszw1qrdzwxmmfmnz425zz"))))
|
||||
(inputs
|
||||
(list perl ncurses))
|
||||
(build-system copy-build-system)
|
||||
|
@ -3045,8 +3045,7 @@ (define-public diff-so-fancy
|
|||
(let ((lib (string-append (assoc-ref outputs "out") "/lib")))
|
||||
(substitute* "diff-so-fancy"
|
||||
(("use lib.*$")
|
||||
(string-append "use lib '" lib "';\n")))
|
||||
#t)))
|
||||
(string-append "use lib '" lib "';\n"))))))
|
||||
(add-after 'install 'symlink-executable
|
||||
(lambda* (#:key outputs inputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out"))
|
||||
|
@ -3054,8 +3053,7 @@ (define-public diff-so-fancy
|
|||
(perl (assoc-ref inputs "perl")))
|
||||
(wrap-program (string-append out "/bin/diff-so-fancy")
|
||||
`("PATH" ":" prefix (,(string-append ncurses "/bin")
|
||||
,(string-append perl "/bin"))))
|
||||
#t))))
|
||||
,(string-append perl "/bin"))))))))
|
||||
#:install-plan
|
||||
'(("lib" "lib")
|
||||
("diff-so-fancy" "bin/"))))
|
||||
|
|
Loading…
Reference in a new issue