diff --git a/pkgs/data/fonts/google-fonts/default.nix b/pkgs/data/fonts/google-fonts/default.nix index 0be58d06fa4d..207f3615d1b4 100644 --- a/pkgs/data/fonts/google-fonts/default.nix +++ b/pkgs/data/fonts/google-fonts/default.nix @@ -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; {