gnu: git-lfs: Fix build.

* gnu/packages/version-control.scm (git-lfs)[arguments]: Fix
  'install-man-pages' phase.
This commit is contained in:
Guillaume Le Vaillant 2021-10-04 17:08:18 +02:00
parent f5dcad8f9f
commit aa916f343c
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -40,6 +40,7 @@
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
;;; Copyright © 2021 François J. <francois-oss@avalenn.eu>
;;; Copyright © 2021 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@ -2876,9 +2877,9 @@ (define-public git-lfs
(invoke "make" "man"))
#t))
(add-after 'install 'install-man-pages
(lambda _
(lambda* (#:key outputs #:allow-other-keys)
(with-directory-excursion "src/github.com/git-lfs/git-lfs/man"
(let ((out (assoc-ref %outputs "out")))
(let ((out (assoc-ref outputs "out")))
(for-each
(lambda (manpage)
(install-file manpage (string-append out "/share/man/man1")))