Merge pull request #49085 from hamishmack/google-fonts-macos

google-fonts: fix on macOS
This commit is contained in:
Joachim F 2018-10-29 20:46:44 +00:00 committed by GitHub
commit 3947b88389
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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; {