neko: fix build with clang 16
This commit is contained in:
parent
4c838ddf14
commit
faaaf4dccb
1 changed files with 3 additions and 0 deletions
|
@ -29,6 +29,9 @@ stdenv.mkDerivation rec {
|
|||
++ lib.optionals stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.Security
|
||||
pkgs.darwin.apple_sdk.frameworks.Carbon];
|
||||
cmakeFlags = [ "-DRUN_LDCONFIG=OFF" ];
|
||||
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
|
||||
};
|
||||
|
||||
installCheckPhase = ''
|
||||
bin/neko bin/test.n
|
||||
|
|
Loading…
Reference in a new issue