From f170b3aebcf2ed764e75869c98259a7bdd4bdf0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Mancilla?= Date: Sun, 10 Jul 2022 00:04:01 -0400 Subject: [PATCH] coan: fix build on darwin The configure script was failing because the `-std=c++11` flag was used when trying to compile C. Set the flag with CXXFLAGS instead. --- pkgs/development/tools/analysis/coan/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkgs/development/tools/analysis/coan/default.nix b/pkgs/development/tools/analysis/coan/default.nix index 3a1b26f1cc8a..ff564916dd3a 100644 --- a/pkgs/development/tools/analysis/coan/default.nix +++ b/pkgs/development/tools/analysis/coan/default.nix @@ -11,9 +11,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ perl ]; - NIX_CFLAGS_COMPILE = [ - "-std=c++11" - ]; + CXXFLAGS = "-std=c++11"; enableParallelBuilding = true; @@ -22,7 +20,6 @@ stdenv.mkDerivation rec { ''; meta = with lib; { - broken = stdenv.isDarwin; description = "The C preprocessor chainsaw"; longDescription = '' A software engineering tool for analysing preprocessor-based