mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: gitolite: Avoid references to the store in authorized_keys.
* gnu/packages/version-control.scm (gitolite)[arguments]: Substitute '$glshell' with 'gitolite-shell' in ssh-authkeys.
This commit is contained in:
parent
21b99aade1
commit
db88b5a857
1 changed files with 7 additions and 1 deletions
|
@ -628,7 +628,13 @@ (define-public gitolite
|
|||
;; invokes Perl.
|
||||
(substitute* (find-files "." ".*")
|
||||
((" perl -")
|
||||
(string-append " " perl " -"))))))
|
||||
(string-append " " perl " -")))
|
||||
|
||||
;; Avoid references to the store in authorized_keys.
|
||||
;; This works because gitolite-shell is in the PATH.
|
||||
(substitute* "src/triggers/post-compile/ssh-authkeys"
|
||||
(("\\$glshell \\$user")
|
||||
"gitolite-shell $user")))))
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((output (assoc-ref outputs "out"))
|
||||
|
|
Loading…
Reference in a new issue