mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-11-02 02:38:44 +00:00
libre-franklin: add doc output
This commit is contained in:
@@ -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
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user