mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 19:16:11 +00:00
neko: fix build with clang 16
This commit is contained in:
parent
4c838ddf14
commit
faaaf4dccb
@ -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 New Issue
Block a user