summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-10-24 22:37:34 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-10-25 09:26:11 +0300
commit75d4abf2eb519a49a4db522cc8204d4c85618c30 (patch)
tree9b11b189356a24c7e827ff5106bb32fa0151432a
parentdec9cb985c45e3ba1e524b5391bc297a7d409e47 (diff)
downloadguix-75d4abf2eb519a49a4db522cc8204d4c85618c30.tar.gz
gnu: console-font: Install bdf2psf.
* gnu/packages/xorg.scm (console-font)[arguments]: Add custom
'install-bdf2psf phase to install bdf2psf and its manpage.
-rw-r--r--gnu/packages/xorg.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index f932610d41..a6b7b71d1d 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -6582,7 +6582,13 @@ output.")
                (replace 'install
                  (lambda* (#:key make-flags #:allow-other-keys)
                    (apply invoke "make" "install-linux"
-                          make-flags))))))
+                          make-flags)))
+               (add-after 'install 'install-bdf2psf
+                 (lambda* (#:key outputs #:allow-other-keys)
+                   (install-file "Fonts/bdf2psf"
+                                 (string-append #$output "/bin"))
+                   (install-file "man/bdf2psf.1"
+                                 (string-append #$output "/share/man/man1")))))))
     (native-inputs
      (list pkg-config
            bdftopcf