me
/
guix
Archived
1
0
Fork 0

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.
master
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
1 changed files with 5 additions and 6 deletions

View File

@ -1749,12 +1749,11 @@ This package provides the TrueType fonts.")
(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