Skip to content

Commit

Permalink
Merge pull request #245244 from sikmir/osm2pgsql
Browse files Browse the repository at this point in the history
osm2pgsql: fix build
  • Loading branch information
marsam committed Jul 25, 2023
2 parents b2d5140 + 3c07074 commit 0e4ec34
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/tools/misc/osm2pgsql/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
, fetchFromGitHub
, cmake
, expat
, fetchpatch
, fmt
, proj
, bzip2
Expand All @@ -27,6 +28,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-8Jefd8dfoh/an7wd+8iTM0uOKA4UiUo8t2WzZs4r/Ck=";
};

patches = [
# Fix compatiblity with fmt 10.0. Remove with the next release
(fetchpatch {
url = "https://github.com/openstreetmap/osm2pgsql/commit/37aae6c874b58cd5cd27e70b2b433d6624fd7498.patch";
hash = "sha256-Fv2zPqhRDoJXlqB1Q9q5iskn28iqq3TYPcdqfu/pvD4=";
})
];

postPatch = ''
# Remove bundled libraries
rm -r contrib
Expand Down

0 comments on commit 0e4ec34

Please sign in to comment.