[Nix-dev] Postgis issues

Wout Mertens wout.mertens at gmail.com
Tue Nov 18 14:01:54 CET 2014


Does the postgis 1.5.8 package include the postgis.control file? If so,
there must be an issue with the code handling the postgres extraPlugins. If
not, fix the postgis package :)

On Tue Nov 18 2014 at 1:40:48 PM <adam at gamb.co> wrote:

> Hi All,
>
> New to Nix, I can't figure out where i'm going wrong with postgis. Known
> issue building 1_5_1 so i'm skipping to 1_5_8 using `callPackage`.
>
> Configured as follows:
>
>    services.postgresql = {
>      enable = true;
>      package = pkgs.postgresql;
>      extraPlugins = [ (pkgs.callPackage
> /path/to/nixpkgs/pkgs/development/libraries/postgis {}).v_1_5_8 ];
>    };
>
> Rebuilding OS works fine. Postgis appears to install (I can see
> postgis-1.5.so), but i'm missing `postgis.control` and presumably one
> extra step?
>
> 'CREATE EXTENSION postgis; ERROR:  could not open extension control file
> "/nix/store/[...]-postgresql-and-plugins-9.2.9/share/
> extension/postgis.control"'
>
> Greatly appreciate any tips on how to debug this.
>
> Adam
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20141118/1f1106eb/attachment.html 


More information about the nix-dev mailing list