0

When installing PostGIS on NixOS with an expression like

 services.postgresql.extraPlugins = [ (pkgs.postgis.override { postgresql = pkgs.postgresql94; }).v_2_1_4 ]; 

How to add other extensions like Osm2pgsql to it?

1 Answer 1

1

osm2pgsql is not yet packaged in nix, so a first step would be to package it.

As far as I see you use osm2pgsql tool as a command line utility. Adding it to environment.systemPackages should make it available in your $PATH.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.