From 03f246620d2e6cf5fa47b44b43c35bcc7aaaebde Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Mon, 10 Feb 2020 13:28:04 +0100 Subject: [PATCH] powerline-fonts: install psf to share/consolefonts This will make easier to set the font of the virtual console in NixOS. Instead of specifing the full filepath of the psf on can simply do: console.font = "ter-powerline-v20b"; console.packages = [ pkgs.powerline-fonts ]; --- pkgs/data/fonts/powerline-fonts/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/data/fonts/powerline-fonts/default.nix b/pkgs/data/fonts/powerline-fonts/default.nix index c8044905a08..f051ef76c9c 100644 --- a/pkgs/data/fonts/powerline-fonts/default.nix +++ b/pkgs/data/fonts/powerline-fonts/default.nix @@ -13,10 +13,10 @@ fetchFromGitHub { find . -name '*.ttf' -exec install -Dt $out/share/fonts/truetype {} \; find . -name '*.bdf' -exec install -Dt $out/share/fonts/bdf {} \; find . -name '*.pcf.gz' -exec install -Dt $out/share/fonts/pcf {} \; - find . -name '*.psf.gz' -exec install -Dt $out/share/fonts/psf {} \; + find . -name '*.psf.gz' -exec install -Dt $out/share/consolefonts {} \; ''; - sha256 = "0irifak86gn7hawzgxcy53s22y215mxc2kjncv37h7q44jsqdqww"; + sha256 = "0r8p4z3db17f5p8jr7sv80nglmjxhg83ncfvwg1dszldswr0dhvr"; meta = with lib; { homepage = https://github.com/powerline/fonts;