diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2021-12-07 10:14:41 +0000 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2022-01-25 23:14:33 -0800 |
commit | ce4927f0d5d7f22f8773906743b0e6f13e635337 (patch) | |
tree | d6665912f8732ad7a3b9239c842adada7a1c4a00 /pkgs/applications/gis/qgis/default.nix | |
parent | 8b2cf0a45d117f30e0ec29247de8b528136e901c (diff) | |
download | nixlib-ce4927f0d5d7f22f8773906743b0e6f13e635337.tar nixlib-ce4927f0d5d7f22f8773906743b0e6f13e635337.tar.gz nixlib-ce4927f0d5d7f22f8773906743b0e6f13e635337.tar.bz2 nixlib-ce4927f0d5d7f22f8773906743b0e6f13e635337.tar.lz nixlib-ce4927f0d5d7f22f8773906743b0e6f13e635337.tar.xz nixlib-ce4927f0d5d7f22f8773906743b0e6f13e635337.tar.zst nixlib-ce4927f0d5d7f22f8773906743b0e6f13e635337.zip |
qgis: enable 3D, grass
Grass is a runtime dependency which qgis attempts to find on the path. 3D is on by default with normal distributions so we should also enable it.
Diffstat (limited to 'pkgs/applications/gis/qgis/default.nix')
-rw-r--r-- | pkgs/applications/gis/qgis/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/gis/qgis/default.nix b/pkgs/applications/gis/qgis/default.nix index f272fd04dd0d..65285c503f7d 100644 --- a/pkgs/applications/gis/qgis/default.nix +++ b/pkgs/applications/gis/qgis/default.nix @@ -1,5 +1,5 @@ { lib, makeWrapper, symlinkJoin -, qgis-unwrapped, extraPythonPackages ? (ps: [ ]) +, qgis-unwrapped, grass, extraPythonPackages ? (ps: [ ]) }: with lib; symlinkJoin rec { @@ -8,7 +8,7 @@ symlinkJoin rec { paths = [ qgis-unwrapped ]; - nativeBuildInputs = [ makeWrapper qgis-unwrapped.python3Packages.wrapPython ]; + nativeBuildInputs = [ grass makeWrapper qgis-unwrapped.python3Packages.wrapPython ]; # extend to add to the python environment of QGIS without rebuilding QGIS application. pythonInputs = qgis-unwrapped.pythonBuildInputs ++ (extraPythonPackages qgis-unwrapped.python3Packages); @@ -20,6 +20,7 @@ symlinkJoin rec { wrapProgram $out/bin/qgis \ --prefix PATH : $program_PATH \ + --prefix PATH : ${lib.makeBinPath [grass]} \ --set PYTHONPATH $program_PYTHONPATH ''; |