dream2nix
dream2nix copied to clipboard
haskell: implement discoverer.
The discoverer should be able to read the name from the cabal file without using IFD. This will unbreak nix flake show etc.
Also this will allow us to decide which translator should be used for a given haskell project.
As a reference, see other discoverers in ./src/subsystems/xxx/discoverers
I am on it. I will also try to make the discoverer support multipackage projects.
Just note that projects can consist of more than one package. Not every single package needs to be detected by the discoverer as an individual project. Usually all packages which share the same lock file belong to a single project detected by the discoverer as one project.