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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
postgresqlPackages.postgis: build minimal gdal version #276348
Conversation
Will this limit the features of PostGIS or does PostGIS only ever use GDAL/OGR features also provided by |
Sorry for late answer. I updated PR description with the list of disabled features in GDAL should be used only for Postgis Raster extension. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems reasonable.
This change is reducing closure size from 1.5G to 544M.
ef855d7
to
afc2f0f
Compare
@ofborg build postgresqlPackages.postgis |
@marsam , are you OK with this change ? |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/week-in-geospatial-team/37035/2 |
Result of 20 packages built:
|
Result of 1 test built:
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/week-in-geospatial-team/37035/3 |
@GrahamcOfBorg eval |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/week-in-geospatial-team/37035/6 |
Description of changes
Build Postgis with minimal gdal version (
gdalMinimal
).gdalMinimal
variant is disabling support for following features :Following is the difference in output of
between PostGIS built with
gdal
andgdalMinimal
:This change is reducing closure size from 1.5G to
544M.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 馃憤 reaction to pull requests you find important.