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 ];
This commit is contained in:
parent
f16019c58f
commit
03f246620d
1 changed files with 2 additions and 2 deletions
|
@ -13,10 +13,10 @@ fetchFromGitHub {
|
||||||
find . -name '*.ttf' -exec install -Dt $out/share/fonts/truetype {} \;
|
find . -name '*.ttf' -exec install -Dt $out/share/fonts/truetype {} \;
|
||||||
find . -name '*.bdf' -exec install -Dt $out/share/fonts/bdf {} \;
|
find . -name '*.bdf' -exec install -Dt $out/share/fonts/bdf {} \;
|
||||||
find . -name '*.pcf.gz' -exec install -Dt $out/share/fonts/pcf {} \;
|
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; {
|
meta = with lib; {
|
||||||
homepage = https://github.com/powerline/fonts;
|
homepage = https://github.com/powerline/fonts;
|
||||||
|
|
Loading…
Reference in a new issue