-
Notifications
You must be signed in to change notification settings - Fork 21
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
parser ignores the last package if it doesn't end in newline
#186
Comments
This seems to happen with a leading newline too:
|
<rant> |
In a
Also haskell-flake/nix/haskell-parsers/parser.nix Lines 26 to 28 in f16e7ac
In the wild: The official parser is implemented here: https://github.com/haskell/cabal/blob/84acb0e9510c82caae1c1bc4397aafca7f25f83a/cabal-install/src/Distribution/Client/ProjectConfig/Legacy.hs#L1207-L1210 |
Part of the reason to reimplement it in Nix is to avoid "import from derivation", making it so that the flake attributes can be determined without doing any builds. It keeps things like |
No description provided.
The text was updated successfully, but these errors were encountered: