mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
meslo-lgs-nf: use installFonts hook
This commit is contained in:
parent
3e08e35dc7
commit
ed05fee30f
1 changed files with 2 additions and 4 deletions
|
|
@ -2,6 +2,7 @@
|
|||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
installFonts,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
|
@ -15,10 +16,7 @@ stdenv.mkDerivation {
|
|||
sha256 = "sha256-8xwVOlOP1SresbReNh1ce2Eu12KdIwdJSg6LKM+k2ng=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp $src/*.ttf $out/share/fonts/truetype
|
||||
'';
|
||||
nativeBuildInputs = [ installFonts ];
|
||||
|
||||
meta = {
|
||||
description = "Meslo Nerd Font patched for Powerlevel10k";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue