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.
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
Remove
HaskellPrebuiltPackageInfo
#442Remove
HaskellPrebuiltPackageInfo
#442Changes from all commits
2052b69
b00ab8d
e9a2eac
14d2c36
a406c30
9566811
4c1bc77
85e26d2
11a4c0e
f7fe774
2cef8d1
2ede9d6
7014361
e66a95a
627ac0e
17c19e0
146bfd1
94d781e
4177d80
f6ae403
521f8be
7dbbc1d
5bc69c4
2b91c29
79267dc
835471c
d640b4f
20a70a5
41f4bf3
02872ac
6545552
180ff47
18b59c3
a3a15fc
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
Adding an explanatory comment to this line is the last thing from my side, then +1 for the merge.
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.
What about the
haskell_import
rule fromhaskell/haskell.bzl
? Shouldn’t it be removed?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.
Eventually yes, though we probably should have a way to generate the correct (new)
haskell_import
statements for other inputs than nix (like ghc bindist or an external ghc) first.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.
Do we really need this? I think we ought to derive the
package_id
from the target name.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.
Why do we need both
deps
anddeps_ids
?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.
Indeed we don't need it.
I didn't try at all to minimize the interface for this rule since it isn't intended to be hand-written anyways so having a bit too much information in exchange of making its implementation easier isn't a big deal, but in this case it's trivial to extract it, so we can remove the
deps_ids
argument