dejavu-fonts: don't install the fonts twice :-S
This commit is contained in:
parent
61f1594378
commit
3322c96a36
|
@ -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
|
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue