mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
melete: use installFonts hook
This commit is contained in:
parent
a1182d174d
commit
3e08e35dc7
1 changed files with 2 additions and 7 deletions
|
|
@ -2,6 +2,7 @@
|
|||
lib,
|
||||
stdenvNoCC,
|
||||
fetchzip,
|
||||
installFonts,
|
||||
}:
|
||||
|
||||
let
|
||||
|
|
@ -18,13 +19,7 @@ stdenvNoCC.mkDerivation {
|
|||
stripRoot = false;
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -D -m444 -t $out/share/fonts/opentype $src/*.otf
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
nativeBuildInputs = [ installFonts ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://dotcolon.net/font/melete/";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue