diff --git a/pkgs/data/fonts/league-of-moveable-type/default.nix b/pkgs/data/fonts/league-of-moveable-type/default.nix index d93d2016971..e02ee967b67 100644 --- a/pkgs/data/fonts/league-of-moveable-type/default.nix +++ b/pkgs/data/fonts/league-of-moveable-type/default.nix @@ -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 = { diff --git a/pkgs/data/fonts/raleway/default.nix b/pkgs/data/fonts/raleway/default.nix index c0746793159..e754135755a 100644 --- a/pkgs/data/fonts/raleway/default.nix +++ b/pkgs/data/fonts/raleway/default.nix @@ -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/ \; '';