diff options
author | Simon South <simon@simonsouth.net> | 2023-02-02 15:25:00 -0500 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2023-03-01 15:14:36 +0000 |
commit | 9a4dd01f1da2681fef8f89d43a43efa4ccbb5a16 (patch) | |
tree | 9dbeb4b7d8107f95e94de42eaa3fe697e38bdf39 /gnu/packages | |
parent | 48cda62fb0a878a66e90bf00ccc336e626c25350 (diff) | |
download | guix-9a4dd01f1da2681fef8f89d43a43efa4ccbb5a16.tar.gz guix-9a4dd01f1da2681fef8f89d43a43efa4ccbb5a16.zip |
gnu: font-google-noto-emoji: Install correct license file.
* gnu/packages/fonts.scm (font-google-noto-emoji)[arguments]<#:phases>: Add
"enter-font-directory" phase; remove now-superfluous prefix from paths in
"remove-unsupported" phase.
Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/fonts.scm | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 13699cdfce..33935c5699 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -982,11 +982,15 @@ display all Unicode symbols.") (list #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'remove-unsupported + (add-after 'unpack 'enter-font-directory + (lambda _ + ;; Note this ensures the correct license file is installed. + (chdir "fonts"))) + (add-after 'enter-font-directory 'remove-unsupported (lambda* _ - (delete-file "fonts/NotoColorEmoji_WindowsCompatible.ttf") - (delete-file "fonts/Noto-COLRv1-noflags.ttf") - (delete-file "fonts/Noto-COLRv1.ttf")))))) + (delete-file "NotoColorEmoji_WindowsCompatible.ttf") + (delete-file "Noto-COLRv1-noflags.ttf") + (delete-file "Noto-COLRv1.ttf")))))) (home-page "https://fonts.google.com/noto/specimen/Noto+Color+Emoji") (synopsis "Font for rendering color emoji characters") (description |