google-fonts: Fix macOS argument list limit issue

This commit is contained in:
Hamish Mackenzie 2018-10-29 13:29:07 +13:00
parent 9a2fd03d67
commit 9cc3aaa676

View File

@ -37,9 +37,7 @@ stdenv.mkDerivation rec {
installPhase = ''
dest=$out/share/fonts/truetype
mkdir -p $dest
find . -name "*.ttf" -exec cp -v {} $dest \;
chmod -x $dest/*.ttf
find . -name '*.ttf' -exec install -m 444 -Dt $dest '{}' +
'';
meta = with stdenv.lib; {