qgis: add man output
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user