libre-franklin: add doc output

This commit is contained in:
Yiyu Zhou
2026-10-16 19:03:43 -07:00
parent a30f38070e
commit 6766871eaa

View File

@@ -16,6 +16,11 @@ stdenvNoCC.mkDerivation rec {
hash = "sha256-GR1KHiQ1lTOmU8eAPR2pxUlMpWiW2EDMG78VDjELxDU=";
};
outputs = [
"out"
"doc"
];
nativeBuildInputs = [ installFonts ];
# Same fonts as fonts/OTF, so install only the OTF versions
@@ -26,7 +31,7 @@ stdenvNoCC.mkDerivation rec {
installPhase = ''
runHook preInstall
install -m444 -Dt $out/share/doc/${pname}-${version} README.md FONTLOG.txt
install -m444 -Dt $doc/share/doc/${pname}-${version} README.md FONTLOG.txt
runHook postInstall
'';