gnu: font-jetbrains-mono: Simplify licence installation.

* gnu/packages/fonts.scm (font-jetbrains-mono)[arguments]: Don't replace
the ‘install-license-files’ phase.  Help it.
This commit is contained in:
Tobias Geerinckx-Rice 2020-10-04 13:03:27 +02:00
parent 14516b6004
commit 48a61e45ac
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -1749,12 +1749,11 @@ (define-public font-jetbrains-mono
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'install-license-files
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(doc (string-append out "/share/doc/" ,name "-" ,version)))
(install-file "../LICENSE" doc)
#t))))))
(add-before 'install-license-files 'change-directory-to-archive-root
;; Find the LICENSE file outside of the default subdirectory.
(lambda _
(chdir "..")
#t)))))
(home-page "https://www.jetbrains.com/lp/mono/")
(synopsis "Mono typeface for developers")
(description