Merge pull request #251592 from imincik/qgis-dont-build-test
qgis: disable building tests
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user