Commit ee1d5dbf authored by Sergei Trofimovich's avatar Sergei Trofimovich
Browse files

zix: workaround -Wno-error=implicit-function-declaration build fails on Darwin

parent e3de8469
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -28,6 +28,13 @@ stdenv.mkDerivation rec {
    "-Ddocs=disabled"
  ];

  env = lib.optionalAttrs stdenv.isDarwin {
    # Do not fail the build on clang-16/darwin.
    # TODO: drop the workaround when upstream fixes it in:
    #   https://gitlab.com/drobilla/zix/-/issues/3
    NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
  };

  meta = with lib; {
    description = "A lightweight C99 portability and data structure library";
    homepage = "https://gitlab.com/drobilla/zix";