[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/06: gnu: font-jetbrains-mono: Simplify licence installation.
From: |
guix-commits |
Subject: |
03/06: gnu: font-jetbrains-mono: Simplify licence installation. |
Date: |
Sun, 4 Oct 2020 08:44:32 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 48a61e45ac98df8299cd0c2f303fd0f5476ef7ba
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Oct 4 13:03:27 2020 +0200
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.
---
gnu/packages/fonts.scm | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 4410149..f39c529 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -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
- branch master updated (fdbf8a7 -> 10ec0ac), guix-commits, 2020/10/04
- 03/06: gnu: font-jetbrains-mono: Simplify licence installation.,
guix-commits <=
- 01/06: gnu: font-comic-neue: Update to 2.51., guix-commits, 2020/10/04
- 02/06: gnu: font-jetbrains-mono: Update to 2.002., guix-commits, 2020/10/04
- 04/06: gnu: godot: Update to 3.2.3., guix-commits, 2020/10/04
- 06/06: gnu: freerdp: Update to 2.2.0., guix-commits, 2020/10/04
- 05/06: gnu: hplip: Update to 3.20.9 [security fixes]., guix-commits, 2020/10/04