ats2: fix darwin build

This commit is contained in:
Austin Horstman 2024-11-04 19:55:13 -06:00
parent 3de54e3d74
commit f4f2eb89bf
No known key found for this signature in database

View File

@ -52,6 +52,8 @@ stdenv.mkDerivation rec {
"CCOMP=${stdenv.cc.targetPrefix}cc"
];
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=implicit-function-declaration";
setupHook =
let
hookFiles = [ ./setup-hook.sh ] ++ lib.optional withContrib ./setup-contrib-hook.sh;