gnu: git-credential-netrc: Add Git.pm to PERL5LIB.
* gnu/packages/version-control.scm (git)[credential-netrc]: Add Git.pm to PERL5LIB.
This commit is contained in:
parent
20f8d73fac
commit
1cfcb841ed
|
@ -309,6 +309,13 @@ as well as the classic centralized workflow.")
|
|||
(let* ((netrc (assoc-ref outputs "credential-netrc")))
|
||||
(install-file "contrib/credential/netrc/git-credential-netrc"
|
||||
(string-append netrc "/bin"))
|
||||
;; Previously, Git.pm was automatically found by netrc.
|
||||
;; Perl 5.26 changed how it locates modules so that @INC no
|
||||
;; longer includes the current working directory (the Perl
|
||||
;; community calls this "dotless @INC").
|
||||
(wrap-program (string-append netrc "/bin/git-credential-netrc")
|
||||
`("PERL5LIB" ":" prefix
|
||||
(,(string-append (assoc-ref outputs "out") "/share/perl5"))))
|
||||
#t)))
|
||||
(add-after 'install 'split
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
|
|
Loading…
Reference in New Issue