diff --git a/pkgs/by-name/be/benzene/package.nix b/pkgs/by-name/be/benzene/package.nix index db669662e2d0..cb60bc009a4c 100644 --- a/pkgs/by-name/be/benzene/package.nix +++ b/pkgs/by-name/be/benzene/package.nix @@ -24,6 +24,12 @@ stdenv.mkDerivation { ]; postPatch = '' + # Fixes for boost v1.85.0+ + # https://github.com/cgao3/benzene-vanilla-cmake/issues/18 + substituteInPlace src/util/Misc.cpp \ + --replace-fail '.branch_path()' '.parent_path()' \ + --replace-fail '.normalize()' '.lexically_normal()' + substituteInPlace CMakeLists.txt \ --replace-fail '-DABS_TOP_SRCDIR="''${top_srcdir}"' '-DABS_TOP_SRCDIR="$ENV{out}"' \ --replace-fail '-DDATADIR="''${pkgdatadir}"' '-DDATADIR="$ENV{out}/share"'