From 9cc3aaa67635e3144a0b9c13e2c52425933dda94 Mon Sep 17 00:00:00 2001 From: Hamish Mackenzie Date: Mon, 29 Oct 2018 13:29:07 +1300 Subject: [PATCH] google-fonts: Fix macOS argument list limit issue --- pkgs/data/fonts/google-fonts/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; {