1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-26 12:10:29 +02:00

gnu: mosh: Use 'modify-phases'.

* gnu/packages/ssh.scm (mosh)[arguments]: Use 'modify-phases'.
This commit is contained in:
Efraim Flashner
2016-08-11 12:09:12 +03:00
parent c3671282c1
commit 11379192fa

View File

@@ -313,16 +313,16 @@ in future and NTLM based authentication is most likey never be supported.")
"1qsb0y882yfgwnpy6f98pi5xqm6kykdsrxzvaal37hs7szjhky0s"))))
(build-system gnu-build-system)
(arguments
'(#:phases (alist-cons-after
'install 'wrap
(lambda* (#:key outputs #:allow-other-keys)
;; Make sure 'mosh' can find 'mosh-client' and
;; 'mosh-server'.
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin")))
(wrap-program (string-append bin "/mosh")
`("PATH" ":" prefix (,bin)))))
%standard-phases)))
'(#:phases
(modify-phases %standard-phases
(add-after 'install 'wrap
(lambda* (#:key outputs #:allow-other-keys)
;; Make sure 'mosh' can find 'mosh-client' and
;; 'mosh-server'.
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin")))
(wrap-program (string-append bin "/mosh")
`("PATH" ":" prefix (,bin)))))))))
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs