Skip to content

Commit

Permalink
Fix Clang analyzer job
Browse files Browse the repository at this point in the history
  • Loading branch information
Ericson2314 committed Jul 24, 2021
1 parent 1992490 commit 45b82f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions default.nix
Expand Up @@ -237,6 +237,8 @@ let
CCC_ANALYZER_ANALYSIS = analysisOptions;
preBuild = ''
mkdir -p $out
export CCC_CC=$CC
export CCC_CXX=$CXX
'';
makeFlags = old.makeFlags or []
++ [ "CC=${pkgs.clangAnalyzer}/libexec/ccc-analyzer" ];
Expand Down

0 comments on commit 45b82f1

Please sign in to comment.