aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon South <simon@simonsouth.net>2023-02-03 07:43:05 -0500
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:44:32 +0200
commit0923bbbe2691212d4acc4041b5ffe81629d02eed (patch)
tree687a41b3113646c0b6a5718f59b66a24e91f9b07
parent1153be583fa2f2e805245449685ef8cecb3f2894 (diff)
downloadguix-0923bbbe2691212d4acc4041b5ffe81629d02eed.tar.gz
guix-0923bbbe2691212d4acc4041b5ffe81629d02eed.zip
gnu: font-fira-sans: Install license file.
* gnu/packages/fonts.scm (font-fira-sans)[arguments]<#:phases>: Add "enter-license-directory" phase.
-rw-r--r--gnu/packages/fonts.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index a622ac68e3..74b9469915 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1656,7 +1656,10 @@ Terminal, and is now the default font in Visual Studio as well.")
(match (find-files "." (format #f "^Fira_~a_[0-9]" variant)
#:directories? #t)
((dir)
- (chdir dir))))))))
+ (chdir dir)))))
+ (add-before 'install-license-files 'enter-license-directory
+ (lambda _
+ (chdir "../OFL_Licence"))))))
;; While the repository has moved,
;; this specimen still works well as the home-page:
(home-page "https://mozilla.github.io/Fira/")