Unverified Commit 5448ed61 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #268763 from wegank/xnee-darwin

xnee: fix build with clang 16
parents d28b36b9 1ce7329f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -74,6 +74,12 @@ stdenv.mkDerivation (finalAttrs: {
    "LDFLAGS=-lXi"
  ];

  # error: call to undeclared function 'xnee_check_key';
  # ISO C99 and later do not support implicit function declarations
  env = lib.optionalAttrs stdenv.cc.isClang {
    NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
  };

  # XXX: Actually tests require an X server.
  doCheck = true;