Backpack infdefinite error explain#11669
Conversation
9d64a70 to
6926b83
Compare
4864b7b to
1adc564
Compare
zlonast
left a comment
There was a problem hiding this comment.
I think we still need to fix the backup's behavior until it's fully mature. Please continue fixing it so we can write more examples of how to use it :)
|
@zlonast for now I stopped investigating backpack, but I'll probably get back to this in the future because I think it's such a cool system, I'm swamped with client work right now 😆 |
Merge Queue Status
This pull request spent 1 hour 16 minutes 12 seconds in the queue, including 1 hour 5 minutes 31 seconds running CI. Waiting for any of
All conditions
ReasonThe merge conditions cannot be satisfied due to failing checks Failing checks: HintYou may have to fix your CI before adding the pull request to the queue again. |
|
Hi @jappeace, can you squash the commits and rebase? |
|
Squashing can be done automatically on merge, you just need to use another label: squash+merge instead of merge me. Rebased can be done either via the bot (a bit flaky) or with GitHub UI (pretty reliable). In sum, you shouldn't need PR author''s help with these actions @zlonast |
```
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.
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.
This reverts commit 7160910.
eebc462 to
f2a7ebb
Compare
Merge Queue Status
This pull request spent 1 hour 55 minutes 1 second in the queue, including 1 hour 43 minutes 11 seconds running CI. Required conditions to merge
|
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.