mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 19:44:09 +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
|
++ lib.optionals stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.Security
|
||||||
pkgs.darwin.apple_sdk.frameworks.Carbon];
|
pkgs.darwin.apple_sdk.frameworks.Carbon];
|
||||||
cmakeFlags = [ "-DRUN_LDCONFIG=OFF" ];
|
cmakeFlags = [ "-DRUN_LDCONFIG=OFF" ];
|
||||||
|
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||||
|
NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
|
||||||
|
};
|
||||||
|
|
||||||
installCheckPhase = ''
|
installCheckPhase = ''
|
||||||
bin/neko bin/test.n
|
bin/neko bin/test.n
|
||||||
|
Loading…
Reference in New Issue
Block a user