Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gdal: Add optional SQLite & Spatialite support #25114

Merged
merged 1 commit into from May 1, 2017

Conversation

Hodapp87
Copy link
Contributor

Motivation for this change

gdal supports reading and writing from SQLite with and without Spatialite, but this requires that the libraries be present. This commit adds optional support for those libraries, leaving them disabled by default.

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@mention-bot
Copy link

@Hodapp87, thanks for your PR! By analyzing the history of the files in this pull request, we identified @bzizou, @MarcWeber and @michelk to be potential reviewers.

@bachp
Copy link
Member

bachp commented Apr 22, 2017

Is there something speaking against enabling them by default? I would make it easier for people to use the feature or is this something most people don't need?

@Hodapp87
Copy link
Contributor Author

I don't really know. I think it was mostly a niche thing that I happened to need.

@FRidh
Copy link
Member

FRidh commented Apr 30, 2017

There's a whole bunch of other flags that are set. Why make these an explicit option?

If these two additional flags don't have a considerable impact on the closure size, then its fine to just add them. Users can always override the derivation.

@Hodapp87
Copy link
Contributor Author

Are you suggesting getting rid of enableSqlite and enableSpatialite?

@FRidh
Copy link
Member

FRidh commented Apr 30, 2017

Yes

@7c6f434c 7c6f434c merged commit 9eeaa70 into NixOS:master May 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants