diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-11-03 16:26:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-03 16:26:31 +0100 |
commit | 649a93124d2b86ddd85f87835016ecd7005921cc (patch) | |
tree | fbf02426b8a83741826450aa59c0467b69b11690 /pkgs | |
parent | 137f9cbd4cbc361161ec6af758a3b74652a32baa (diff) | |
parent | faaaf4dccb5724c41561aeb14a179f8745347db4 (diff) |
Merge pull request #264705 from wegank/neko-clang-16
neko: fix build with clang 16
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/compilers/neko/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/compilers/neko/default.nix b/pkgs/development/compilers/neko/default.nix index 40e39d411d694..fff5762a38d72 100644 --- a/pkgs/development/compilers/neko/default.nix +++ b/pkgs/development/compilers/neko/default.nix @@ -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 |