quicksand: use installFonts
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchFromGitHub,
|
||||
installFonts,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
@@ -16,16 +17,7 @@ stdenvNoCC.mkDerivation {
|
||||
sparseCheckout = [ "fonts" ];
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/share/fonts/quicksand
|
||||
|
||||
install -Dm444 fonts/*.ttf -t $out/share/fonts/quicksand/
|
||||
install -Dm444 fonts/statics/*.ttf -t $out/share/fonts/quicksand/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
nativeBuildInputs = [ installFonts ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/andrew-paglinawan/QuicksandFamily";
|
||||
|
||||
Reference in New Issue
Block a user