caf: fix build on darwin

This commit is contained in:
Mario Rodas 2023-10-07 16:37:00 +00:00
parent 2f76a68c90
commit 91689d4ef0

View file

@ -19,7 +19,9 @@ stdenv.mkDerivation rec {
"-DCAF_ENABLE_EXAMPLES:BOOL=OFF"
];
doCheck = true;
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-faligned-allocation";
doCheck = !stdenv.isDarwin;
checkTarget = "test";
meta = with lib; {