Skip to content

Commit

Permalink
CAD-2399 ghc: try the haskell.nix method of globally enabling -g3
Browse files Browse the repository at this point in the history
  • Loading branch information
deepfire committed Jan 26, 2022
1 parent 62fd114 commit cab3d48
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nix/haskell.nix
Expand Up @@ -174,6 +174,9 @@ let
packages = lib.genAttrs ["cardano-node"]
(name: { configureFlags = [ "--ghc-option=-eventlog" ]; });
})
{
packages.ghcOptions = "-g3";
}
(lib.optionalAttrs profiling {
enableLibraryProfiling = true;
packages.cardano-node.components.exes.cardano-node.enableExecutableProfiling = true;
Expand Down

0 comments on commit cab3d48

Please sign in to comment.