-
Notifications
You must be signed in to change notification settings - Fork 223
Fix index-state syntax #3700
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
Fix index-state syntax #3700
Conversation
Hi I'm trying your patch.
|
@piotr-iohk , regarding the actual failure in the gh CI. I think it breaks because check-scope is trying to fetch from |
My guess would be that this has broken Also saw this in CI here |
oh right, I didn't see you had custom nix code. What are you trying to achieve there? from what I can see you are trying to parse the index-state and the compiler name from cabal.project and pass it to |
I can confirm that this branch works for me. After switching to the branch, I can:
@andreabedini many thanks for doing this work! 🙏🏻 |
bors try |
tryBuild failed: |
The second index-state stanza completely ovverides the first, resetting hackage index state to HEAD. See haskell/cabal#8568
- leave building tool to haskell.nix - remove with-compiler from cabal.project to allow both 8107 and 925 - remove materialized plans and tooling around it - partially update documentation
5e174e9
to
5f37133
Compare
Ah right, the failure is because there's no |
I just noticed this part in
not sure what to do here |
We can drop the following lines from nix/regenerate.sh # Regenerate materialized haskell-build-tools in ./materialized
nix build .#buildToolsGenerateMaterialized
. ./result/bin/regenerate-materialized-nix
# Regenerate materialized iohk-nix-utils in ./materialized
nix build .#iohkNixGenerateMaterialized
./result/bin/regenerate-materialized-nix which should make the CI check happy. But I'm getting this error from
It seems the |
iohk-nix-utils only got renamed, I thought I changed all the occurrence but I must have missed some. I will look into it tomorrow 👍 |
bors try |
tryBuild failed: |
@andreabedini there's this remaining problem now on windows,
|
@Anviking I am aware but I haven't figure it out yet :-) |
bors try |
🔒 Permission denied Existing reviewers: click here to make andreabedini a reviewer |
bors try |
tryBuild succeeded: |
bors try |
tryBuild succeeded: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! 😊
I can find no obvious defects. The following continue to work for me:
nix develop
hoogle
ghci
(after./scripts/gen-ghci.sh
as usual)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks!
It seems we've lost haskell-language-server-wrapper
, so I had to repoint my editor LSP config to haskell-language-server
, but not sure what the conventional approach is / if we care enough to re-add it or not.
@Anviking I don't think there's anything I can do re |
I was going to say the bors r+ |
Build succeeded: |
…ini The second index-state stanza completely ovverides the first, resetting hackage index state to HEAD. See haskell/cabal#8568 <!-- Detail in a few bullet points the work accomplished in this PR. Before you submit, don't forget to: CODE-OF-CONDUCT.md LICENSE README.md bors.toml cabal.project default.nix docker-compose.yml docs flake.lock flake.nix floskell.json hie-direnv.yaml lib nix prototypes reports scripts shell.nix specifications test touch.me.CI weeder.dhall Make sure the GitHub PR fields are correct: ✓ Set a good Title for your PR. ✓ Assign yourself to the PR. ✓ Assign one or more reviewer(s). ✓ Link to a Jira issue, and/or other GitHub issues or PRs. ✓ In the PR description delete any empty sections and all text commented in <!--, so that this text does not appear in merge commit messages. CODE-OF-CONDUCT.md LICENSE README.md bors.toml cabal.project default.nix docker-compose.yml docs flake.lock flake.nix floskell.json hie-direnv.yaml lib nix prototypes reports scripts shell.nix specifications test touch.me.CI weeder.dhall Don't waste reviewers' time: ✓ If it's a draft, select the Create Draft PR option. ✓ Self-review your changes to make sure nothing unexpected slipped through. CODE-OF-CONDUCT.md LICENSE README.md bors.toml cabal.project default.nix docker-compose.yml docs flake.lock flake.nix floskell.json hie-direnv.yaml lib nix prototypes reports scripts shell.nix specifications test touch.me.CI weeder.dhall Try to make your intent clear: ✓ Write a good Description that explains what this PR is meant to do. ✓ Jira will detect and link to this PR once created, but you can also link this PR in the description of the corresponding Jira ticket. ✓ Highlight what Testing you have done. ✓ Acknowledge any changes required to the Documentation. --> - [ ] I have ... ### Comments <!-- Additional comments, links, or screenshots to attach, if any. --> ### Issue Number <!-- Reference the Jira/GitHub issue that this PR relates to, and which requirements it tackles. Note: Jira issues of the form ADP- will be auto-linked. --> Co-authored-by: Andrea Bedini <[email protected]> Source commit: 6dca83f
The second index-state stanza completely ovverides the first, resetting hackage index state to HEAD. See haskell/cabal#8568
Comments
Issue Number