cardano-base
cardano-base copied to clipboard
How to do a profiling build?
trafficstars
I'm not very familiar with Nix, and thus am not sure what I'd need to do to allow me to profile the code in here. This is related to work stemming from this PR, and ultimately seeking to address one of the issues described here.
@michaelpj - do you happen to know the answer to this?
Looks like there's a config argument to shell.nix which gets passed down to here: https://github.com/input-output-hk/cardano-base/blob/master/nix/haskell.nix#L12. Then you should be able to build in there with profiling: true in cabal.project.local.