!yNLbWuxtZEZoUZYwKG:nixos.org

Nix Geospatial Team

33 Members
Nix Geospatial packages maintenance. Team board - https://github.com/orgs/NixOS/projects/47/views/18 Servers

Load older messages


SenderMessageTime
30 Jun 2024
@timlinux:osgeo.orgTim SuttonYes so it needs a package rebuild always right?05:42:47
@imincik:matrix.orgIvan Mincik (imincik)BTW, I am now working on QGIS build on Darwin.05:43:08
@timlinux:osgeo.orgTim SuttonDo I always need to make a custom derivation like I have done?05:43:24
@imincik:matrix.orgIvan Mincik (imincik)
In reply to @timlinux:osgeo.org
Yes so it needs a package rebuild always right?
qgis-unwrapped is called in let binding in default (wrapped) package. You dont have any access to variable in let binding.
05:44:50
@imincik:matrix.orgIvan Mincik (imincik)Do you know about https://geospatial-nix.today ? You can configure QGIS with Python packages and plugins there05:47:18
@timlinux:osgeo.orgTim SuttonRE helping with packaging - thanks! I already appreciate the work you have done and follow the changes you make closely - I would help you if I could but my nixos knowledge is still very rudimentary05:48:43
@timlinux:osgeo.orgTim SuttonThe geospatial-nix.today link you shared: No I hadnt seen that, looks like a great idea!05:51:24
@imincik:matrix.orgIvan Mincik (imincik)
In reply to @timlinux:osgeo.org
RE helping with packaging - thanks! I already appreciate the work you have done and follow the changes you make closely - I would help you if I could but my nixos knowledge is still very rudimentary
If you are interested, I can offer you few hours of my time during your stay in Slovakia and answer your questions. Or provide any help you need to advance in your Nix knowledge.
05:52:20
@timlinux:osgeo.orgTim Suttonregarding the let binding, so what is the canonical way to enable it? Copy the derivation as I have done or is there a better way?05:52:46
@timlinux:osgeo.orgTim Sutton
In reply to @imincik:matrix.org
If you are interested, I can offer you few hours of my time during your stay in Slovakia and answer your questions. Or provide any help you need to advance in your Nix knowledge.
That would be amazing! To be honest I have spent the last year and a bit totally addicted to nixos
05:53:44
@timlinux:osgeo.orgTim SuttonMy biggest question is how to set up a QGIS developer environment with QtCreator, code editing, debugging etc,05:54:57
@timlinux:osgeo.orgTim SuttonI have been able to make custom builds as per my flake link but I want to be able to actually have a dynamic dev env05:55:37
@imincik:matrix.orgIvan Mincik (imincik)

You need to expose qgis-unwrapped

diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 28f987a534bc..85a45bdbdabb 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -29273,6 +29273,7 @@ with pkgs;
   qgis-ltr = callPackage ../applications/gis/qgis/ltr.nix { };

   qgis = callPackage ../applications/gis/qgis { };
+  qgis-unwrapped = libsForQt5.callPackage ../applications/gis/qgis/unwrapped.nix {  };

   qmapshack = libsForQt5.callPackage ../applications/gis/qmapshack { };```

If you want to override it.
05:56:19
@imincik:matrix.orgIvan Mincik (imincik)
In reply to @timlinux:osgeo.org
regarding the let binding, so what is the canonical way to enable it? Copy the derivation as I have done or is there a better way?
But I suggest using qgis package from geospatial-nix (https://github.com/imincik/geospatial-nix) which is exposing unwrapped packages out-of-box.
05:58:14
@timlinux:osgeo.orgTim Sutton

The other things on my wish list are:

  • separate out ltr and latest so that they can both be installed with proper discrete .desktop shortcuts onthe same system
  • provide a 'batteries included' environment with grass, saga, whitebox-tools, pcraster (no package for that in nix yet!) etc
  • easy enable / disable webkit
  • split QGIS Server off to its own package and make it easy to set it up with e.g. nginx
06:00:08
@imincik:matrix.orgIvan Mincik (imincik) Tim Sutton - osgeo: I am very happy to spend whole day with you in Bratislava and work on qgis and nix if you want. We can do a lot of improvements. Let me know. 06:01:13
@imincik:matrix.orgIvan Mincik (imincik)(I am boarding my flight to FOSS4G Tartu in 15 minutes)06:01:48
@timlinux:osgeo.orgTim Suttonok safe travels!06:02:02
@timlinux:osgeo.orgTim Suttonsorry I took so long to find this room!06:02:11
@imincik:matrix.orgIvan Mincik (imincik)
In reply to @timlinux:osgeo.org

The other things on my wish list are:

  • separate out ltr and latest so that they can both be installed with proper discrete .desktop shortcuts onthe same system
  • provide a 'batteries included' environment with grass, saga, whitebox-tools, pcraster (no package for that in nix yet!) etc
  • easy enable / disable webkit
  • split QGIS Server off to its own package and make it easy to set it up with e.g. nginx
All of them are solvable and I'll be interested in working on them.
06:03:02
@timlinux:osgeo.orgTim SuttonAnd thank you for all the stuff you have done for QGIS on Nix - much appreciated!06:03:09
@imincik:matrix.orgIvan Mincik (imincik) Tim Sutton - osgeo: how long do you stay in Slovakia ? 06:03:50
@timlinux:osgeo.orgTim SuttonAnything you want to change on the new website, just let me know06:03:57
@timlinux:osgeo.orgTim SuttonI can change it easily after we launch it too - I hope to bring a bit more visibility to your work there06:04:23
@timlinux:osgeo.orgTim Sutton(and others in the team)06:04:36
@imincik:matrix.orgIvan Mincik (imincik)
In reply to @timlinux:osgeo.org
Anything you want to change on the new website, just let me know
I would consider using new CLI even if it requires to enable experimental features (nix shell instead of nix-shell). This would allow you to use flakes.
06:05:10
@imincik:matrix.orgIvan Mincik (imincik)
In reply to @timlinux:osgeo.org
Anything you want to change on the new website, just let me know
* I would consider using new CLI even if it requires to enable experimental features (nix shell instead of nix-shell). This would allow you to use flakes. And new CLI looks better for the users.
06:05:41
@imincik:matrix.orgIvan Mincik (imincik)If you use DetSys nix installer, it enables new cli and flakes by default.06:06:05
@timlinux:osgeo.orgTim SuttonIf you want to make a patch the source is here: https://github.com/qgis/QGIS-Hugo/blob/main/content/resources/installation-guide/index.md#nixos06:07:13
@timlinux:osgeo.orgTim Sutton
In reply to @imincik:matrix.org
Tim Sutton - osgeo: how long do you stay in Slovakia ?
I don't know yet - I am having some issues getting my new residence card here in Portugal and until I have it I cannot make any travel plans
06:09:41

Show newer messages


Back to Room ListRoom Version: 10