Skip to content
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.project may reference cabal files instead of directories #113

Open
Tracked by #307
roberth opened this issue Mar 11, 2023 · 1 comment
Open
Tracked by #307

cabal.project may reference cabal files instead of directories #113

roberth opened this issue Mar 11, 2023 · 1 comment
Labels
good first issue Good for newcomers

Comments

@roberth
Copy link
Collaborator

roberth commented Mar 11, 2023

Cabal install accepts references to .cabal files, as well as references to directories containing them. Haskell-flake does not support files yet.

Example:

cabal.project

packages:
  foo/foo.cabal
@srid srid added the good first issue Good for newcomers label Mar 11, 2023
srid added a commit that referenced this issue Mar 11, 2023
@srid
Copy link
Owner

srid commented Mar 13, 2023

Another way in which the parser is deficient is that if the cabal.project has only "packages" field and doesn't end in newline, the last package will not be recognized. cf. https://github.com/srid/ema/actions/runs/4410050701/jobs/7727093450 & srid/ema@b46a08d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants