summary refs log tree commit diff
path: root/pkgs/data/fonts/powerline-fonts
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2020-02-10 13:28:04 +0100
committerrnhmjoj <rnhmjoj@inventati.org>2020-02-10 13:28:04 +0100
commit03f246620d2e6cf5fa47b44b43c35bcc7aaaebde (patch)
tree85ab1c5083ce5fafa5724010f8796b9c2fbadaf1 /pkgs/data/fonts/powerline-fonts
parentf16019c58fe7948f947cdc4d73464d82fb69300d (diff)
downloadnixpkgs-03f246620d2e6cf5fa47b44b43c35bcc7aaaebde.tar
nixpkgs-03f246620d2e6cf5fa47b44b43c35bcc7aaaebde.tar.gz
nixpkgs-03f246620d2e6cf5fa47b44b43c35bcc7aaaebde.tar.bz2
nixpkgs-03f246620d2e6cf5fa47b44b43c35bcc7aaaebde.tar.lz
nixpkgs-03f246620d2e6cf5fa47b44b43c35bcc7aaaebde.tar.xz
nixpkgs-03f246620d2e6cf5fa47b44b43c35bcc7aaaebde.tar.zst
nixpkgs-03f246620d2e6cf5fa47b44b43c35bcc7aaaebde.zip
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 ];
Diffstat (limited to 'pkgs/data/fonts/powerline-fonts')
-rw-r--r--pkgs/data/fonts/powerline-fonts/default.nix4
1 files 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;