valhalla: Fix build error relating to std::set
This commit is contained in:
parent
58f7dcd5c8
commit
900db7c04e
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, cmake
|
||||
, pkg-config
|
||||
, boost
|
||||
|
@ -29,6 +30,14 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix build
|
||||
(fetchpatch {
|
||||
url = "https://github.com/valhalla/valhalla/commit/e4845b68e8ef8de9eabb359b23bf34c879e21f2b.patch";
|
||||
hash = "sha256-xCufmXHGj1JxaMwm64JT9FPY+o0+x4glfJSYLdvHI8U=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/bindings/python/CMakeLists.txt \
|
||||
--replace "\''${Python_SITEARCH}" "${placeholder "out"}/${python3.sitePackages}"
|
||||
|
|
Loading…
Reference in a new issue