dream2nix icon indicating copy to clipboard operation
dream2nix copied to clipboard

haskell: implement discoverer.

Open DavHau opened this issue 3 years ago • 2 comments

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

DavHau avatar Jun 16 '22 16:06 DavHau

I am on it. I will also try to make the discoverer support multipackage projects.

m1-s avatar Aug 12 '22 08:08 m1-s

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.

DavHau avatar Aug 12 '22 09:08 DavHau