Commit 58f7dcd5 authored by Tom Hall's avatar Tom Hall
Browse files

valhalla: fix build with gcc 12

parent f3961adf
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -44,6 +44,11 @@ stdenv.mkDerivation (finalAttrs: {
    "-DENABLE_BENCHMARKS=OFF"
  ];

  env.NIX_CFLAGS_COMPILE = toString [
    # Needed for date submodule with GCC 12 https://github.com/HowardHinnant/date/issues/750
    "-Wno-error=stringop-overflow"
  ];

  buildInputs = [
    boost
    curl