osrm-backend: fix build (#497918)

This commit is contained in:
Kerstin
2026-03-12 00:45:12 +00:00
committed by GitHub
+9
View File
@@ -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