nixpkgs-suyu/pkgs/servers
Luke Worth 330fff02a6 postgis: allow on Darwin
To get PostGIS going on Darwin:
1. Add libiconv, as is often required.
2. Expand platforms to `platforms.all`.
3. Deal with PostGIS' quirky build system.

PostGIS' configure.ac has the following gem:

  AC_MSG_RESULT([------------------------------------------------------------------------])
  AC_MSG_RESULT([  WARNING: You have set the --prefix to '$prefix'. But we mostly    ])
  AC_MSG_RESULT([  ignore the --prefix. For your info, using the values determined from ])
  AC_MSG_RESULT([  $PG_CONFIG we will be installing:   ])
  AC_MSG_RESULT([    * postgis shared library in $PGSQL_LIBDIR ])
  AC_MSG_RESULT([    * postgis SQL files in $PGSQL_SHAREDIR/contrib/postgis-$POSTGIS_MAJOR_VERSION.$POSTGIS_MINOR_VERSION ])
  AC_MSG_RESULT([    * postgis executables in $PGSQL_BINDIR ])
  AC_MSG_RESULT([------------------------------------------------------------------------])

This is suggestive of some assumptions in the build system, which are
revealed when building in Nix on Darwin: the build fails because the
postgres binary cannot be found in the install prefix specified for
postgis; vis.

  cc x -bundle_loader $POSTGIS_PREFIX/bin/postgres

This bundle_loader parameter is only available on Darwin, and this
problem doesn't appear to affect Linux systems.

The solution presented here is to symlink the postgres binary where
PostGIS expects it to be, and then remove it after the build completes.
2019-07-27 19:00:46 +10:00
..
amqp Merge pull request #64803 from serokell/elixir19 2019-07-19 00:03:29 +02:00
apache-kafka kafka: 2.2.0 -> 2.2.1 2019-06-13 14:45:26 -04:00
apcupsd
asterisk treewide: Change URLs to HTTPS 2019-04-22 10:19:54 +02:00
atlassian atlassian-jira: 8.2.2 -> 8.2.3 2019-07-10 20:10:38 +02:00
beanstalkd beanstalkd: 1.10 -> 1.11 2019-07-01 00:05:59 -07:00
bird
blockbook blockbook: init at 0.3.1 2019-07-10 10:23:37 +02:00
brickd
caddy caddy: 0.11.4 -> 1.0.0 2019-06-18 23:36:54 +00:00
cayley
clickhouse treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
cloud-print-connector
computing slurm: 19.05.0.1 -> 19.05.1.2 2019-07-16 12:08:24 -07:00
confluent-platform confluent-platform: Rename confluent package and update to 5.2.1 2019-05-24 12:07:27 +10:00
consul consul: 1.4.4 -> 1.5.2 2019-06-30 17:03:10 +02:00
corosync
coturn treewide: update homepages to https where available 2019-04-15 10:10:05 -04:00
couchpotato couchpotato: remove the /usr/bin/env dependency 2019-06-25 13:25:57 +02:00
dante
demoit demoit: unstable-2019-03-29 -> unstable-2019-05-10 (#61349) 2019-05-12 18:47:26 +02:00
dex dex-oidc: 2.16.0 -> 2.17.0 (#64592) 2019-07-10 14:18:42 -04:00
dgraph
dico dico: 2.7 -> 2.9 2019-04-24 09:25:58 -05:00
dict libmaa: /var/run -> /run 2019-04-11 20:05:35 +02:00
diod
dns knot-dns: 2.8.2 -> 2.8.3 (maintenance) 2019-07-16 13:52:27 +02:00
documize-community documize-community: 3.1.0 -> 3.1.1 2019-07-21 00:32:34 +02:00
echoip
elasticmq
elasticmq-server-bin elasticmq-server-bin: init at 0.14.6 2019-05-29 07:11:31 +09:00
endlessh endlessh: init at 1.0 2019-05-21 16:04:21 +09:00
etcd etcd: 3.3.1 -> 3.3.13 2019-07-09 22:55:07 +00:00
exhibitor
fcgiwrap treewide: Change URLs to HTTPS 2019-04-22 10:19:54 +02:00
felix
fingerd/bsd-fingerd
firebird
foundationdb treewide: use dontConfigure 2019-07-01 04:23:51 -04:00
freeradius freeradius: 3.0.17 -> 3.0.19 2019-04-27 07:36:33 +02:00
ftp bftpd: 5.1 -> 5.2 2019-07-18 22:05:23 -07:00
gnatsd
gopher/gofish
gotty
gpm
gpsd
h2
hbase
headphones treewide: fix malformed homepage URLs 2019-07-01 21:12:25 -07:00
hitch
holochain-go
home-assistant pythonPackages.pyyaml_3: init , instead of multiple pyyaml overrides 2019-07-25 11:51:55 +02:00
http Merge pull request #61816 from Izorkin/nginxMainline 2019-07-25 10:01:59 +01:00
hydron
hylafaxplus Merge pull request #59540 from r-ryantm/auto-update/hylafaxplus 2019-04-19 07:47:02 -07:00
icecast
icingaweb2 treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
identd
interlock
irc ngircd: 24 -> 25 2019-03-26 12:25:08 -07:00
irker
isso
jackett jackett: 0.11.420 -> 0.11.457 2019-07-05 23:29:52 +02:00
jellyfin jellyfin: 10.3.5 -> 10.3.6 2019-07-07 00:32:01 +02:00
jetbrains treewide: use dontUnpack 2019-07-01 04:23:51 -04:00
kippo
kwakd
ldap/389 389-ds-base: 1.3.5.19 -> 1.3.9.1 (#61675) 2019-05-21 11:09:31 +02:00
lidarr lidarr: 0.6.1.830 -> 0.6.2.883 2019-06-01 21:59:05 -07:00
limesurvey limesurvey: drop php command from package, simplify directory structure 2019-05-23 21:43:08 -04:00
livepeer
mail postfix: 3.4.5 -> 3.4.6 2019-07-17 09:45:35 +02:00
matrix-synapse matrix-synapse: 1.0.0 -> 1.1.0 2019-07-06 15:09:27 +02:00
matterbridge
mattermost mattermost: 5.7.1 -> 5.9.0 2019-04-03 05:25:56 +02:00
mautrix-telegram mautrix-telegram: 0.5.2 -> 0.6.0 2019-07-09 18:55:37 +02:00
mautrix-whatsapp mautrix-whatsapp: 2019-02-24 -> 2019-07-04 2019-07-10 02:35:03 +02:00
mediatomb
meguca
memcached memcached: 1.5.14 -> 1.5.16 2019-06-01 23:09:12 -07:00
mesos-dns
metabase metabase: 0.32.2 -> 0.32.9 2019-07-15 17:15:47 -05:00
meteor
miniflux miniflux: 2.0.15 -> 2.0.16 (#62918) 2019-06-10 13:43:58 -07:00
minio minio: only publish the main binary 2019-06-18 16:48:17 +02:00
mirrorbits
misc airsonic: 10.1.2 -> 10.2.1 (#57702) 2019-03-31 00:42:38 +01:00
monitoring uchiwa: 1.5.0 -> 1.7.0 2019-07-24 21:36:41 +08:00
mpd
mqtt/mosquitto mosquitto: 1.6.2 -> 1.6.3 2019-06-23 11:21:25 +08:00
mtprotoproxy mtprotoproxy: init at 1.0.5 2019-06-09 11:44:08 +03:00
mumsi mumsi: Init at git-2019-02-10 2019-07-16 16:18:14 +02:00
mxisd mxisd: 1.4.4 -> 1.4.5 2019-07-13 12:36:05 +02:00
nas
nats-streaming-server
neard
news/leafnode
nextcloud nextcloud: 16.0.2 -> 16.0.3 2019-07-15 22:45:09 +02:00
nginx-sso
nosql cassandra 3.11.3 -> 3.11.4 2019-07-14 22:22:04 +08:00
nsq
oauth2_proxy treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
openafs treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
openxpki buildPerlPackage: name -> (pname, version) 2019-06-20 15:56:50 +00:00
osrm-backend
p910nd
pies
plex plex: 1.16.1.1291 -> 1.16.2.1321 2019-07-18 16:24:20 +02:00
polipo
prayer
ps3netsrv
pulseaudio pulseaudio: fix build and eval 2019-06-10 11:15:40 +02:00
quagga
radarr radarr: 0.2.0.1344 -> 0.2.0.1358 2019-06-30 13:36:28 +02:00
radicale
rainloop
rippled Merge pull request #58351 from xtruder/pkgs/rippled/1.2.1 2019-03-27 17:13:16 +01:00
roon-server roon-server: init at 100600401 2019-06-25 09:34:07 -04:00
roundcube treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
routinator routinator: 0.4.0 -> 0.5.0 2019-07-18 16:54:26 +00:00
rpcbind
rt rt: 4.4.3 -> 4.4.4 2019-04-16 18:43:37 +02:00
sabnzbd sabnzbd: 2.3.8 -> 2.3.9 (#62565) 2019-06-04 19:25:35 +00:00
samba samba: 4.10.5 -> 4.10.6 2019-07-20 09:07:28 -07:00
search groonga: enable on darwin 2019-07-19 21:19:13 -05:00
serf
serviio serviio: 1.10.1 -> 2.0 2019-06-02 20:31:37 -07:00
shairplay
shairport-sync shairport-sync: 3.3 -> 3.3.1 2019-06-18 04:56:28 -07:00
shellinabox
shishi
sickbeard sickgear: 0.18.14 -> 0.20.0 2019-07-16 19:27:25 +02:00
silc-server
simplehttp2server
sip
sks
skydns
slimserver buildPerlPackage: name -> (pname, version) 2019-06-20 15:56:50 +00:00
smcroute
softether softether_4_25: restrict to x86_64-linux 2019-05-02 22:42:16 +02:00
sonarr sonarr: 2.0.0.5301 -> 2.0.0.5322 2019-04-02 19:59:46 -07:00
sql postgis: allow on Darwin 2019-07-27 19:00:46 +10:00
squid squid: add patch fixing CVE-2019-13345 2019-07-14 21:41:26 +01:00
sslh
syncserver
tautulli tautulli: 2.1.29 -> 2.1.32 2019-07-03 08:31:14 +02:00
tegola
teleport teleport: 3.1.8 -> 4.0.2 2019-07-16 15:25:30 -04:00
traefik traefik: 1.7.10 -> 1.7.12 2019-07-21 00:15:15 +02:00
trezord trezord-go: 2.0.26 -> 2.0.27 2019-05-28 18:51:39 +02:00
tt-rss
ttyd
tvheadend
u9fs treewide: Change URLs to HTTPS 2019-04-22 10:19:54 +02:00
udpt
uftp uftp: 4.9.11 -> 4.10 2019-07-17 09:33:48 +02:00
uhub
ums
unfs3
unifi unifiTesting: 5.10.19 -> 5.11.18 2019-05-06 16:12:42 +02:00
uwsgi uwsgi: enable on darwin 2019-05-27 21:41:38 +02:00
varnish Remove me (garbas) as maintainer since I don't have much time to maintain anything 2019-07-03 11:27:39 +02:00
web-apps Revert Nodejs-8_x deprecation 2019-07-05 12:23:27 +01:00
webmetro treewide: update cargoSha256 hashes for cargo-vendor upgrade 2019-06-01 15:17:52 +00:00
x11 nixos/xserver: add option to install custom xkb layouts 2019-07-26 18:08:04 +02:00
xinetd
xmpp luaPackages: Replace all rockspec packages with generated ones 2019-06-14 13:17:15 +10:00
zoneminder zoneminder: Fix linking issue 2019-06-27 21:19:02 +02:00
zookeeper