diff --git a/pkgs/applications/graphics/inkscape/default.nix b/pkgs/applications/graphics/inkscape/default.nix index 4220b8d1de2f..329353210fe5 100644 --- a/pkgs/applications/graphics/inkscape/default.nix +++ b/pkgs/applications/graphics/inkscape/default.nix @@ -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"; diff --git a/pkgs/applications/graphics/inkscape/with-extensions.nix b/pkgs/applications/graphics/inkscape/with-extensions.nix index 7970cdfb89a4..e7ba0b10e8ac 100644 --- a/pkgs/applications/graphics/inkscape/with-extensions.nix +++ b/pkgs/applications/graphics/inkscape/with-extensions.nix @@ -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;