-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cabal file in project root is not detected #49
Comments
[Trying to describe this issue in detail] The haskell-flake/flake-module.nix Lines 119 to 122 in 380bffd
This works for projects with multiple local packages (like https://github.com/srid/haskell-multi-nix) where cabal files live at |
So my workaround was to use The package was listed in a The algorithm would then be roughly: check for |
This sounds good to me.
|
Haskell.nix has one, but I don't know how easily reused it is. Maybe the relevant paths can be found without much effort, I don't know. |
Yeah, one step at a time. We want to support this case anyway, regardless of |
Encountered this in https://github.com/hercules-ci/arion
haskellPathsInDir
only scans subdirectories: "${x}/${x}.cabal"We should also try
${x}.cabal
(regardless of parent directory name, which is impure; store path or lazy tree).The text was updated successfully, but these errors were encountered: