Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
postgresql-postgis: 3.4.2 -> 3.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
imincik committed Sep 27, 2024
1 parent 09044cb commit 58482ba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgs/postgis/postgis.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ let
in
stdenv.mkDerivation rec {
pname = "postgis";
version = "3.4.2";
version = "3.4.3";

outputs = [
"out"
Expand All @@ -37,7 +37,7 @@ stdenv.mkDerivation rec {

src = fetchurl {
url = "https://download.osgeo.org/postgis/source/postgis-${version}.tar.gz";
hash = "sha256-yMh0wAukqYSocDCva/lUSCFQIGCtRz1clvHU0INcWJI=";
hash = "sha256-+N7VBdrrj1dlnaK55Xf/ceGDqqCUcI0u7OLFbZM2H2I=";
};

buildInputs = [
Expand All @@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
json_c
protobufc
pcre2.dev
] ++ lib.optional stdenv.isDarwin libiconv;
] ++ lib.optional stdenv.hostPlatform.isDarwin libiconv;
nativeBuildInputs = [
perl
pkg-config
Expand Down Expand Up @@ -89,7 +89,7 @@ stdenv.mkDerivation rec {
ln -s ${postgresql}/bin/postgres $out/bin/postgres
'';

doCheck = stdenv.isLinux;
doCheck = stdenv.hostPlatform.isLinux;

preCheck = ''
substituteInPlace regress/run_test.pl --replace-fail "/share/contrib/postgis" "$out/share/postgresql/contrib/postgis"
Expand Down

0 comments on commit 58482ba

Please sign in to comment.