0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 14:10:33 +03:00

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

This commit is contained in:
misuzu 2025-01-19 13:30:23 +02:00 committed by GitHub
commit daf35fdd25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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; {