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
haskellPackages: unbreak amazonka #68944
Conversation
@peti should I run https://github.com/NixOS/cabal2nix/blob/master/update-nixpkgs.sh as part of this PR? |
No, that's not necessary. But you should target the branch haskell-updates. Check out https://m.youtube.com/watch?v=KLhkAEk8I20 for detailed instructions. |
9e95aa2
to
87c8163
Compare
@@ -1228,4 +1228,10 @@ self: super: { | |||
''; | |||
}); | |||
|
|||
# https://github.com/brendanhay/amazonka/commit/657b70d174fe5cb61e56cb8b9c5e57f1ec216f2b | |||
amazonka = appendPatch super.amazonka ./patches/amazonka-Allow-http-client-0.6.patch; |
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.
@jbgi Generally, people don't like to carry around patches in nixpkgs, but instead pull them from upstream.
Could you change this to pull the patch from upstream, similar to below:
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.
I see. Though in this case there is a single commit patch that need to be split to apply to each package. Is there a precedent in nixpkgs of a similar situation?
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.
@jbgi Ah, I see. I don't know what to do in that situation. I'd say it looks fine as-is.
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.
This looks good to me, although I didn't actually try building all these packages that have been marked unbroken.
cc @peti
f293f9d
to
c66b97c
Compare
This update was generated by hackage2nix v2.14.4-7-ga804c35 from Hackage revision commercialhaskell/all-cabal-hashes@1fae184.
This update was generated by hackage2nix v2.14.4-9-g449ad2b from Hackage revision commercialhaskell/all-cabal-hashes@ab023b2.
74d6877
to
8e6e631
Compare
This update was generated by hackage2nix v2.14.4-9-g449ad2b from Hackage revision commercialhaskell/all-cabal-hashes@ed250ea.
87c8163
to
36041e4
Compare
and other packages broken due to amazonka.
36041e4
to
975941c
Compare
I tested the commit on top of |
d075238
to
742348d
Compare
Cherry-picked as 982e840. |
and other packages broken due to amazonka.