mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
Merge pull request #19688 from Profpatsch/league-of-moveable-type
league-of-moveable-type: fix raleway integration
This commit is contained in:
commit
209691e397
@ -21,8 +21,10 @@ stdenv.mkDerivation rec {
|
|||||||
sourceRoot = ".";
|
sourceRoot = ".";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/share/fonts/truetype
|
mkdir -p $out/share/fonts/opentype
|
||||||
cp */*.otf $out/share/fonts/truetype
|
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 = {
|
meta = {
|
||||||
|
@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
|
|||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/share/fonts/truetype
|
mkdir -p $out/share/fonts/opentype
|
||||||
cp "$src/fonts/OTF v3.000 Fontlab"/*.otf $out/share/fonts/truetype
|
cp "$src/fonts/OTF v3.000 Fontlab"/*.otf $out/share/fonts/opentype
|
||||||
find -type f -maxdepth 1 -exec cp "{}" $out/ \;
|
find -type f -maxdepth 1 -exec cp "{}" $out/ \;
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user