Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 8251b83e6a20
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: f3952fc50c53
Choose a head ref
  • 5 commits
  • 1 file changed
  • 2 contributors

Commits on Jul 27, 2019

  1. 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.
    lrworth committed Jul 27, 2019
    Copy the full SHA
    330fff0 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    7f54b9a View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2019

  1. Copy the full SHA
    19011ba View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    c1da476 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2019

  1. Copy the full SHA
    f3952fc View commit details
    Browse the repository at this point in the history