diff --git a/pkgs/by-name/os/osrm-backend/package.nix b/pkgs/by-name/os/osrm-backend/package.nix index 8d2da8121516..c165663b89a3 100644 --- a/pkgs/by-name/os/osrm-backend/package.nix +++ b/pkgs/by-name/os/osrm-backend/package.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, + fetchpatch2, cmake, pkg-config, bzip2, @@ -26,6 +27,14 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-R2Sx+DbT6gROI8X1fkxqOGbMqgmsnNiw2rUX6gSZuTs="; }; + patches = [ + (fetchpatch2 { + name = "Fix-build-with-Boost-1.89.0.patch"; + url = "https://github.com/Project-OSRM/osrm-backend/commit/a2e159d0d4f6b3922ee0cb058a800230cf90642e.patch?full_index=1"; + hash = "sha256-c+4Ll660jHLnFolehCpZQLca4pmyVsBfjwSY1BHBh40="; + }) + ]; + nativeBuildInputs = [ cmake pkg-config