Backpack infdefinite error explain#11669
Open
jappeace wants to merge 5 commits intohaskell:masterfrom
Open
Conversation
0a16ea3 to
9d64a70
Compare
```
Error:
The following packages are broken because other packages they depend on are missing. These broken packages must be rebuilt before they can be used.
planned package consumer-0.1.0.0 is broken due to missing package
framework-0.1.0.0+95RTb42ZWxa9J13cUStM0q
````
To
```
Error:
The following packages are broken because other packages they depend on are missing. These broken packages must be rebuilt before they can be used.
planned package consumer-0.1.0.0
is broken due to missing package
framework-0.1.0.0 (has unfilled signature: App)
The package is installed as indefinite.
To use it, rebuild it in the same cabal project as the consumer so cabal can fill the signatures.
```
Hopefully it gives more guidence on what's going on to the user. I encountered this when trying to use backpack in a nix setup (for example jappeace-sloth/prrrrrrrrr#2) It keeps on wanting to build everything locally and I couldn't understand why. I still don't fully understand why it can't have partially filled modules upstream. It claims it's because of nix but I don't understand it.
9d64a70 to
6926b83
Compare
geekosaur
reviewed
Mar 27, 2026
cabal-testsuite/PackageTests/Backpack/Fail5/setup-external-fail.test.hs
Outdated
Show resolved
Hide resolved
geekosaur
approved these changes
Mar 27, 2026
Add missing expected output file for cabal variant of Backpack Fail5 test The setupAndCabalTest function runs the test twice: once with setup and once with cabal. The setup variant uses setup-external-fail.out, but the cabal variant needs setup-external-fail.cabal.out which was missing, causing the test to expect empty output and fail.
4864b7b to
1adc564
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes the error message from:
To
Hopefully it gives more guidence on what's going on to the user. I encountered this when trying to use backpack in a nix setup (for example jappeace-sloth/prrrrrrrrr#2) It keeps on wanting to build everything locally and I couldn't understand why.
I still don't fully understand why it can't have partially filled modules upstream. It claims it's because of nix but I don't understand it.It's not nix, I'm in a deep cabal hole, but it looks like I'm finding a way out of it (slowly). This is the final backpack PR for now, I'll investigate it more another time. Frankly I want (good) mobile support more then I want to work with backpack.
significance: significantin the changelog file.