Exposing haskell (cabal) executables in flake
I have a cabal project and I'd like to expose one of the build artifacts without the entire HLS dependency chain that comes with the devenv shell; what's the best way to do this going forward? callCabal2nix?
Can you say more about how you'd like to consume the executable?
For this particular case, I'd just expose it as part of a flake so that it can be wrapped into a systemd service that executes it. callCabal2nix seems like the easiest option but I need to overrideCabal with the derivations provided by devenv and I'm not immediately certain where everything lives.
Now you can do that via https://devenv.sh/outputs