qgis: add man output

This commit is contained in:
Sandro Jäckel
2025-11-17 21:32:45 +01:00
parent fd12f481bc
commit c78768e154
2 changed files with 9 additions and 5 deletions
+4 -4
View File
@@ -14,14 +14,12 @@
}:
let
qgis-unwrapped = libsForQt5.callPackage ./unwrapped.nix {
withGrass = withGrass;
withServer = withServer;
withWebKit = withWebKit;
inherit withGrass withServer withWebKit;
};
in
symlinkJoin {
inherit (qgis-unwrapped) version src;
inherit (qgis-unwrapped) version outputs src;
pname = "qgis";
paths = [ qgis-unwrapped ];
@@ -42,6 +40,8 @@ symlinkJoin {
--prefix PATH : $program_PATH \
--set PYTHONPATH $program_PYTHONPATH
done
ln -s ${qgis-unwrapped.man} $man
'';
passthru = {
+5 -1
View File
@@ -84,6 +84,10 @@ in
mkDerivation rec {
version = "3.44.3";
pname = "qgis-unwrapped";
outputs = [
"out"
"man"
];
src = fetchFromGitHub {
owner = "qgis";
@@ -180,7 +184,7 @@ mkDerivation rec {
dontWrapGApps = true; # wrapper params passed below
postFixup = lib.optionalString withGrass ''
# GRASS has to be availble on the command line even though we baked in
# GRASS has to be available on the command line even though we baked in
# the path at build time using GRASS_PREFIX.
# Using wrapGAppsHook also prevents file dialogs from crashing the program
# on non-NixOS.