mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: gitolite: Update phase style.
* gnu/packages/version-control.scm (gitolite): Substitute INVOKE for SYSTEM* and end phases with #t.
This commit is contained in:
parent
7730b7179c
commit
92793c7b02
1 changed files with 3 additions and 2 deletions
|
@ -958,7 +958,8 @@ (define-public gitolite
|
|||
;; This works because gitolite-shell is in the PATH.
|
||||
(substitute* "src/triggers/post-compile/ssh-authkeys"
|
||||
(("\\$glshell \\$user")
|
||||
"gitolite-shell $user")))))
|
||||
"gitolite-shell $user"))
|
||||
#t)))
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((output (assoc-ref outputs "out"))
|
||||
|
@ -966,7 +967,7 @@ (define-public gitolite
|
|||
(bindir (string-append output "/bin")))
|
||||
(mkdir-p sharedir)
|
||||
(mkdir-p bindir)
|
||||
(system* "./install" "-to" sharedir)
|
||||
(invoke "./install" "-to" sharedir)
|
||||
;; Create symlinks for executable scripts in /bin.
|
||||
(for-each (lambda (script)
|
||||
(symlink (string-append sharedir "/" script)
|
||||
|
|
Loading…
Reference in a new issue