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
1 changed files with 4 additions and 6 deletions

View File

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