1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

qgis: re-export unwrapped parameters

Re-export build configuration parameters from unwrapped package to allow
standard override using

```
  qgis.override { ... };
```

.
This commit is contained in:
Ivan Mincik 2024-10-17 11:40:55 +02:00
parent 6d685d6728
commit 43012a8149
4 changed files with 20 additions and 6 deletions

View file

@ -5,9 +5,16 @@
, extraPythonPackages ? (ps: [ ])
, libsForQt5
# unwrapped package parameters
, withGrass ? true
, withWebKit ? false
}:
let
qgis-unwrapped = libsForQt5.callPackage ./unwrapped.nix { };
qgis-unwrapped = libsForQt5.callPackage ./unwrapped.nix {
withGrass = withGrass;
withWebKit = withWebKit;
};
in symlinkJoin rec {
inherit (qgis-unwrapped) version;

View file

@ -5,9 +5,16 @@
, extraPythonPackages ? (ps: [ ])
, libsForQt5
# unwrapped package parameters
, withGrass ? true
, withWebKit ? false
}:
let
qgis-ltr-unwrapped = libsForQt5.callPackage ./unwrapped-ltr.nix { };
qgis-ltr-unwrapped = libsForQt5.callPackage ./unwrapped-ltr.nix {
withGrass = withGrass;
withWebKit = withWebKit;
};
in symlinkJoin rec {
inherit (qgis-ltr-unwrapped) version;

View file

@ -6,8 +6,8 @@
, wrapGAppsHook3
, wrapQtAppsHook
, withGrass ? true
, withWebKit ? false
, withGrass
, withWebKit
, bison
, cmake

View file

@ -6,8 +6,8 @@
, wrapGAppsHook3
, wrapQtAppsHook
, withGrass ? true
, withWebKit ? false
, withGrass
, withWebKit
, bison
, cmake