-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Documenting a workaround discussed at https://hasurahq.slack.com/archives/C03263T1L9W/p1653561662369129 in a new Troubleshooting doc PR-URL: hasura/graphql-engine-mono#4575 GitOrigin-RevId: eb80662b93f157d363cd0b53993fc5bb5972b546
- Loading branch information
1 parent
b2ff316
commit 2518d16
Showing
2 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
### `cabal: Could not resolve dependencies:` | ||
|
||
a.k.a "how do I get Cabal to update the freeze file with the dependencies it needs, and why doesn't `cabal update` work?" | ||
- issue: `cabal freeze` also freezes the `index-state` at the bottom of the file so, in some cases, `cabal update` has no effect | ||
- fix: | ||
- delete the line starting with `index-state` at the bottom of the `cabal.project.freeze` file | ||
- delete lines for any dependencies you want to update | ||
- run `cabal update`/`cabal freeze` |