1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 17:41:12 +00:00
nixpkgs/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 treewide: replace utillinux refs of {u,}mount 2018-03-27 18:17:46 -05:00
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 bird, bird6: 1.6.3 -> 1.6.6 2019-03-07 11:37:24 +01:00
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 Replace platforms.linux with platforms.darwin for expressions that compile on darwin too (too restrictive platforms) 2019-02-18 10:56:58 +01:00
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 treewide: remove wkennington as maintainer 2019-01-26 10:05:32 +00:00
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 dante: add extra build inputs 2018-04-26 13:57:11 +03:00
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 diod: fix build 2019-02-17 12:07:22 +01:00
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 echoip: init at unstable-2018-11-20 2018-11-27 11:25:34 -05:00
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 pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
fcgiwrap treewide: Change URLs to HTTPS 2019-04-22 10:19:54 +02:00
felix
fingerd/bsd-fingerd bsd_fingerd: add license 2018-08-30 22:29:17 +02:00
firebird pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
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 gnatsd: 1.2.0 -> 1.4.0 2019-01-16 17:02:21 -08:00
gopher/gofish
gotty pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
gpm treewide: remove wkennington as maintainer 2019-01-26 10:05:32 +00:00
gpsd treewide: use scons setup hook 2018-11-13 19:14:10 -06:00
h2 pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
hbase pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
headphones treewide: fix malformed homepage URLs 2019-07-01 21:12:25 -07:00
hitch hitch: 1.4.8 -> 1.5.0 2018-12-25 17:18:02 -08:00
holochain-go Add: GoEndian dependancy 2018-07-06 14:00:22 +01:00
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 hydron: 2018-10-08 -> 2019-02-17 2019-03-23 01:19:30 -05:00
hylafaxplus Merge pull request #59540 from r-ryantm/auto-update/hylafaxplus 2019-04-19 07:47:02 -07:00
icecast icecast: 2.4.3 -> 2.4.4 2018-11-01 21:48:22 +01:00
icingaweb2 treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
identd oidentd: 2.3.1 -> 2.3.2 2019-01-17 08:08:05 +00:00
interlock pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
irc ngircd: 24 -> 25 2019-03-26 12:25:08 -07:00
irker irker: cleanup manual setting of XML_CATALOG_FILES, no longer needed 2018-01-02 22:40:39 +01:00
isso isso: 0.11.1 -> 0.12.2 2019-01-28 06:10:07 -08:00
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 kippo: mark as broken 2018-09-13 00:58:57 +02:00
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 treewide: http -> https 2018-07-19 18:12:04 -07:00
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 matterbridge: 1.7.1 -> 1.11.0 2018-08-06 12:25:25 +02:00
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 meguca: 2018-12-06 -> 2019-03-12 2019-03-23 01:19:30 -05:00
memcached memcached: 1.5.14 -> 1.5.16 2019-06-01 23:09:12 -07:00
mesos-dns pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
metabase metabase: 0.32.2 -> 0.32.9 2019-07-15 17:15:47 -05:00
meteor treewide: use runtimeShell instead of stdenv.shell whenever possible 2019-02-26 14:10:49 +00:00
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 pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
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 mpd: 0.20.21 -> 0.20.23 2018-12-01 01:31:45 +00:00
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 treewide/xorg: replace *proto with xorgproto 2019-01-04 14:38:57 +01:00
nats-streaming-server nats-streaming-server: 0.11.0 -> 0.11.2 2019-01-16 16:57:52 -08:00
neard neard: 0.15-post-git-20510929 -> 0.16 2017-12-05 22:05:59 +00:00
news/leafnode treewide: Make configureFlags lists 2018-08-03 17:06:03 -04:00
nextcloud nextcloud: 16.0.2 -> 16.0.3 2019-07-15 22:45:09 +02:00
nginx-sso nginx-sso: 0.16.0 -> 0.16.1 2019-03-17 22:33:28 +01:00
nosql cassandra 3.11.3 -> 3.11.4 2019-07-14 22:22:04 +08:00
nsq pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
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 osrm-backend: 5.21.0 -> 5.22.0 2019-02-04 13:27:02 -08:00
p910nd Treewide: use HTTPS on SourceForge 2018-12-02 15:33:08 +01:00
pies Treewide: use HTTPS on GNU domains 2018-12-02 15:51:59 +01:00
plex plex: 1.16.1.1291 -> 1.16.2.1321 2019-07-18 16:24:20 +02:00
polipo polipo: mark as vulnerable (close #33709) 2018-02-08 18:50:41 +01:00
prayer prayer: use correct include directory for c-client aka uwimap 2017-12-10 12:12:46 +01:00
ps3netsrv
pulseaudio pulseaudio: fix build and eval 2019-06-10 11:15:40 +02:00
quagga Treewide: use HTTPS on NonGNU domains 2018-12-02 15:21:04 +01:00
radarr radarr: 0.2.0.1344 -> 0.2.0.1358 2019-06-30 13:36:28 +02:00
radicale radicale: 2.1.10 -> 2.1.11 2018-11-06 11:11:10 +01:00
rainloop rainloop: Init at 1.12.1 2018-08-07 19:01:39 +02:00
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 rpcbind: switch to upstream git repo, drop patch 2018-08-31 00:04:15 +02:00
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 shairplay: 2016-01-01 -> 2018-08-24 2019-02-25 15:42:51 +08:00
shairport-sync shairport-sync: 3.3 -> 3.3.1 2019-06-18 04:56:28 -07:00
shellinabox treewide: abandon Google Code homepages 2017-11-03 18:52:28 +00:00
shishi treewide: remove wkennington as maintainer 2019-01-26 10:05:32 +00:00
sickbeard sickgear: 0.18.14 -> 0.20.0 2019-07-16 19:27:25 +02:00
silc-server
simplehttp2server simplehttp2server: init at 3.1.3 2018-02-17 06:35:35 +07:00
sip freeswitch: remove helper script to reduce closure size 2019-02-12 13:53:27 -06:00
sks sks: Adapt the package to NixOS (pkgs.db provides only "db_stat") 2018-09-08 16:24:05 +02:00
skydns skydns: add license 2018-08-04 18:34:51 +02:00
slimserver buildPerlPackage: name -> (pname, version) 2019-06-20 15:56:50 +00:00
smcroute smcroute: 2.4.3 -> 2.4.4 2019-03-02 23:14:16 +01:00
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 sslh: 1.19c -> 1.20 2018-11-22 14:36:27 +01:00
syncserver pythonPackages.syncserver: move to all-packages.nix and fix dependencies 2019-01-30 15:59:00 +01:00
tautulli tautulli: 2.1.29 -> 2.1.32 2019-07-03 08:31:14 +02:00
tegola Tegola v0.8.1 (#54087) 2019-01-21 23:42:21 +02:00
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 tt-rss-theme-feedly: Package additional themes 2019-03-14 19:01:32 +01:00
ttyd ttyd: init at 1.4.2_pre174_6df6ac3e 2019-03-06 02:22:49 -06:00
tvheadend tvheadend: 4.2.7 -> 4.2.8 (#54038) 2019-02-24 00:36:23 +01:00
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 uhub: fix build for aarch64 2018-10-12 13:44:22 +02:00
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 treewide: use runtimeShell instead of stdenv.shell whenever possible 2019-02-26 14:10:49 +00:00