-
Notifications
You must be signed in to change notification settings - Fork 842
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
No cabal file found for Archive #4292
Comments
✨ This is an old work account. Please reference @brandonchinn178 for all future communication ✨ Also breaks if you include
Error is in Pantry.Archive stripping prefix of a path instead of stripping subdirectories. e.g. specifying
in a repository with the path |
@brandon-leapyear @mihaimaruseac I think that https://github.com/commercialhaskell/stack/blob/master/subs/pantry/src/Pantry/Archive.hs#L392 ...
(cabalPath, cabalEntry@(TreeEntry cabalBlobKey _)) <- findCabalFile pli tree
... With this implementation, it's necessary We must to contains |
Reopening in that case, the file should be regenerated |
Please see #4377. |
Fixed by #4439 |
Steps to reproduce
$ stack new sample $ cd sample
stack.yaml
(addextra-deps
)$ cat stack.yaml resolver: url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/12/9.yaml packages: - . extra-deps: - github: fpco/store commit: 247f2863bed0f5c1003ab835075b6dcafb9aa773
$ stack build No cabal file found for Archive from https://github.com/fpco/store/archive/247f2863bed0f5c1003ab835075b6dcafb9aa773.tar.gz
Some packages will succeed.(ex.
cassava
)Stack version
The text was updated successfully, but these errors were encountered: