dejavu-fonts: don't install the fonts twice :-S

This commit is contained in:
Vladimír Čunát 2015-07-26 17:47:04 +02:00
parent 61f1594378
commit 3322c96a36

View File

@ -30,13 +30,11 @@ stdenv.mkDerivation rec {
ln -s ${unicodeData} resources/UnicodeData.txt
ln -s ${blocks} resources/Blocks.txt
'';
installPhase = ''
installPhase = ''
mkdir -p $out/share/fonts/truetype
for i in $(find build -name '*.ttf'); do
cp $i $out/share/fonts/truetype;
for i in $(find build -name '*.ttf'); do
cp $i $out/share/fonts/truetype;
done;
mkdir -p $out/share/dejavu-fonts
cp -r build/* $out/share/dejavu-fonts
'';
}