diff options
author | Thomas Danckaert <thomas.danckaert@gmail.com> | 2016-09-27 15:38:51 +0200 |
---|---|---|
committer | 宋文武 <iyzsong@gmail.com> | 2016-09-28 21:23:47 +0800 |
commit | b411517a1939612517378987ff2675b809b7074c (patch) | |
tree | a28ef19f4818a8df1ad07e7d6d9261c13fc8db5b | |
parent | 11e296ef3092de1e5b659822d4dad4465abad34f (diff) | |
download | patches-b411517a1939612517378987ff2675b809b7074c.tar patches-b411517a1939612517378987ff2675b809b7074c.tar.gz |
gnu: git: Add input perl-term-readkey for 'git-svn'.
* gnu/packages/version-control.scm (git)[inputs]: Add perl-term-readkeys.
[arguments]: Add perl-term-readkeys to the PERL5LIB of `git-svn'.
Signed-off-by: 宋文武 <iyzsong@gmail.com>
-rw-r--r-- | gnu/packages/version-control.scm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 29559bd9b3..ef65a03451 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -143,6 +143,7 @@ as well as the classic centralized workflow.") ;; For 'git-svn'. ("subversion" ,subversion) + ("perl-term-readkey" ,perl-term-readkey) ;; For 'git-send-email' ("perl-authen-sasl" ,perl-authen-sasl) @@ -227,14 +228,15 @@ as well as the classic centralized workflow.") (list gitk git-gui git-cit git-se git-svn) (list gitk* git-gui* git-cit* git-se* git-svn*)) - ;; Tell 'git-svn' where Subversion is. + ;; Tell 'git-svn' where Subversion and perl-term-readkey are. (wrap-program git-svn* `("PATH" ":" prefix (,(string-append (assoc-ref inputs "subversion") "/bin"))) `("PERL5LIB" ":" prefix - (,(string-append (assoc-ref inputs "subversion") - "/lib/perl5/site_perl"))) + ,(map (lambda (i) (string-append (assoc-ref inputs i) + "/lib/perl5/site_perl")) + '("subversion" "perl-term-readkey"))) ;; XXX: The .so for SVN/Core.pm lacks a RUNPATH, so ;; help it find 'libsvn_client-1.so'. |