Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
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?
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.
osm2pgsql
environment.systemPackages
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.