Merge pull request #251592 from imincik/qgis-dont-build-test

qgis: disable building tests
This commit is contained in:
Weijia Wang
2023-08-30 23:55:35 +02:00
committed by GitHub
2 changed files with 10 additions and 3 deletions
+9 -3
View File
@@ -1,8 +1,11 @@
{ lib, makeWrapper, symlinkJoin
{ lib
, makeWrapper
, symlinkJoin
, extraPythonPackages ? (ps: [ ])
, libsForQt5
}:
with lib;
let
qgis-unwrapped = libsForQt5.callPackage ./unwrapped.nix { };
in symlinkJoin rec {
@@ -12,7 +15,10 @@ in symlinkJoin rec {
paths = [ qgis-unwrapped ];
nativeBuildInputs = [ makeWrapper qgis-unwrapped.py.pkgs.wrapPython ];
nativeBuildInputs = [
makeWrapper
qgis-unwrapped.py.pkgs.wrapPython
];
# extend to add to the python environment of QGIS without rebuilding QGIS application.
pythonInputs = qgis-unwrapped.pythonBuildInputs ++ (extraPythonPackages qgis-unwrapped.py.pkgs);
+1
View File
@@ -152,6 +152,7 @@ in mkDerivation rec {
cmakeFlags = [
"-DWITH_3D=True"
"-DWITH_PDAL=TRUE"
"-DENABLE_TESTS=False"
] ++ lib.optional (!withWebKit) "-DWITH_QTWEBKIT=OFF"
++ lib.optional withGrass (let
gmajor = lib.versions.major grass.version;