Merge pull request #19688 from Profpatsch/league-of-moveable-type

league-of-moveable-type: fix raleway integration
This commit is contained in:
Jörg Thalheim 2016-10-20 10:17:22 +02:00 committed by GitHub
commit 209691e397
2 changed files with 6 additions and 4 deletions

View File

@ -21,8 +21,10 @@ stdenv.mkDerivation rec {
sourceRoot = ".";
installPhase = ''
mkdir -p $out/share/fonts/truetype
cp */*.otf $out/share/fonts/truetype
mkdir -p $out/share/fonts/opentype
cp */*.otf $out/share/fonts/opentype
# for Raleway, where the fonts are already in /share/…
cp */share/fonts/opentype/*.otf $out/share/fonts/opentype
'';
meta = {

View File

@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
dontBuild = true;
installPhase = ''
mkdir -p $out/share/fonts/truetype
cp "$src/fonts/OTF v3.000 Fontlab"/*.otf $out/share/fonts/truetype
mkdir -p $out/share/fonts/opentype
cp "$src/fonts/OTF v3.000 Fontlab"/*.otf $out/share/fonts/opentype
find -type f -maxdepth 1 -exec cp "{}" $out/ \;
'';