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:
parent
14516b6004
commit
48a61e45ac
1 changed files with 5 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue