inkscape: add man output

This commit is contained in:
Sandro Jäckel
2025-11-17 21:46:08 +01:00
parent cb435e16c0
commit 3f11be809b
2 changed files with 11 additions and 0 deletions
@@ -75,6 +75,10 @@ in
stdenv.mkDerivation (finalAttrs: {
pname = "inkscape";
version = "1.4.2";
outputs = [
"out"
"man"
];
src = fetchurl {
url = "https://inkscape.org/release/inkscape-${finalAttrs.version}/source/archive/xz/dl/inkscape-${finalAttrs.version}.tar.xz";
@@ -17,6 +17,11 @@ in
symlinkJoin {
name = "inkscape-with-extensions-${lib.getVersion inkscape}";
outputs = [
"out"
"man"
];
paths = [ inkscape ] ++ selectedExtensions;
nativeBuildInputs = [ makeWrapper ];
@@ -24,6 +29,8 @@ symlinkJoin {
postBuild = ''
rm -f $out/bin/inkscape
makeWrapper "${inkscape}/bin/inkscape" "$out/bin/inkscape" --set INKSCAPE_DATADIR "$out/share"
ln -s ${inkscape.man} $man
'';
inherit (inkscape) meta;