plow-technologies / inferno

A statically-typed functional scripting language
MIT License
4 stars 1 forks source link

Profiling build of `inferno` binary #20

Closed goodlyrottenapple closed 1 year ago

goodlyrottenapple commented 1 year ago

This adds a profiling build of the inferno binary, which can be used via

nix shell .#inferno-core:exe:inferno-ghc924-prof

However, I've had to update haskell.nix, as the profiling build needs recursion-schemes >=5.2.2.3, due to:

Workaround for https://gitlab.haskell.org/ghc/ghc/-/issues/18320, which was preventing code calling makeBaseFunctor from being profiled.

The update to haskell.nix seems to have broken the dev shell??