Browse Source

gnu: mosh: Use 'modify-phases'.

* gnu/packages/ssh.scm (mosh)[arguments]: Use 'modify-phases'.
wip-loongson2f
Efraim Flashner 6 years ago
parent
commit
11379192fa
Signed by: efraim GPG Key ID: F4C1D3917EACEE93
  1. 20
      gnu/packages/ssh.scm

20
gnu/packages/ssh.scm

@ -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

Loading…
Cancel
Save