From 6e604ec68c2f849dad045194bf3701202c0ed4ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 10 Jun 2017 09:31:20 +0100 Subject: [PATCH] arphic: style fixes --- pkgs/data/fonts/arphic/default.nix | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/pkgs/data/fonts/arphic/default.nix b/pkgs/data/fonts/arphic/default.nix index 40f5480c0861..b392ac79b2da 100644 --- a/pkgs/data/fonts/arphic/default.nix +++ b/pkgs/data/fonts/arphic/default.nix @@ -15,14 +15,12 @@ phases = [ "unpackPhase" "installPhase" ]; - installPhase = - '' - mkdir -p $out/share/fonts $out/share/fonts/truetype - cp -v ukai.ttc $out/share/fonts/truetype/arphic-ukai.ttc + installPhase = '' + install -D -v ukai.ttc $out/share/fonts/truetype/arphic-ukai.ttc cd $out/share/fonts mkfontdir mkfontscale - ''; + ''; meta = with stdenv.lib; { description = "CJK Unicode font Kai style"; @@ -48,14 +46,12 @@ phases = [ "unpackPhase" "installPhase" ]; - installPhase = - '' - mkdir -p $out/share/fonts $out/share/fonts/truetype - cp -v uming.ttc $out/share/fonts/truetype/arphic-uming.ttc + installPhase = '' + install -D -v uming.ttc $out/share/fonts/truetype/arphic-uming.ttc cd $out/share/fonts mkfontdir mkfontscale - ''; + ''; meta = with stdenv.lib; { description = "CJK Unicode font Ming style";