aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/fonts.scm
diff options
context:
space:
mode:
author宋文武 <iyzsong@member.fsf.org>2024-04-21 16:40:21 +0800
committerAndreas Enge <andreas@enge.fr>2024-10-19 15:40:56 +0200
commit0fdac03363e109d4eabe1d9ff26d2720ff1084e1 (patch)
treec341b212475be31145043af24e50803e4762bc1c /gnu/packages/fonts.scm
parentff074b9b10fe76bd44de632ab8e12a699c6fbaa8 (diff)
downloadguix-0fdac03363e109d4eabe1d9ff26d2720ff1084e1.tar
guix-0fdac03363e109d4eabe1d9ff26d2720ff1084e1.tar.gz
gnu: font-recursive: Split outputs.
* gnu/packages/fonts.scm (font-recurive)[outputs]: New field. [arguments]: New field. Add 'remove-separate-statics' phase. Change-Id: I4ab81efb12ded417724ed103339dac0125110592
Diffstat (limited to 'gnu/packages/fonts.scm')
-rw-r--r--gnu/packages/fonts.scm11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 4b109527ca..e40f60c7a9 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -3815,6 +3815,17 @@ characters to form contiguous lines. It contains several fonts:
(base32
"00ns6zwizp0wyxyrf7fxqmxm4gl7ygarxq1mj952h78q1rxdzjyb"))))
(build-system font-build-system)
+ ;; Default to ttf, which has "Rec Mono" for code and variable font.
+ (outputs '("out" "otf" "woff"))
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'install 'remove-separate-statics
+ (lambda _
+ ;; Prefer otc/ttc collection over those seperate files.
+ (delete-file-recursively
+ "Recursive_Desktop/separate_statics/"))))))
(home-page "https://www.recursive.design/")
(synopsis "Variable font family for code & UI")
(description "Recursive Sans & Mono is a variable type family built for