Unverified Commit daf35fdd authored by misuzu's avatar misuzu Committed by GitHub
Browse files

liberation-sans-narrow: fix cross build (#373965)

parents 3655f3f8 f9fce578
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -18,15 +18,17 @@ stdenv.mkDerivation rec {
    sha256 = "1qw554jbdnqkg6pjjl4cqkgsalq3398kzvww2naw30vykcz752bm";
  };

  buildInputs = [
  nativeBuildInputs = [
    fontforge
    python3Packages.fonttools
    python3
  ];

  installPhase = ''
    runHook preInstall
    find . -name '*Narrow*.ttf' -exec install -m444 -Dt $out/share/fonts/truetype {} \;
    install -m444 -Dt $out/doc/${pname}-${version} AUTHORS ChangeLog COPYING License.txt README.rst
    runHook postInstall
  '';

  meta = with lib; {