mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
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 ${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
|
||||
'';
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user