From 91689d4ef0e1e23a541bfd69cc22136762734664 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sat, 7 Oct 2023 16:37:00 +0000 Subject: [PATCH] caf: fix build on darwin --- pkgs/development/libraries/caf/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/caf/default.nix b/pkgs/development/libraries/caf/default.nix index 7f4f32bbd75d..753dda572d4c 100644 --- a/pkgs/development/libraries/caf/default.nix +++ b/pkgs/development/libraries/caf/default.nix @@ -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; {