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