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.stylish-haskell: fix broken dependencies #85656
haskellPackages.stylish-haskell: fix broken dependencies #85656
Conversation
HsYAML-aeson = unmarkBroken (super.HsYAML-aeson.override { | ||
HsYAML = self.HsYAML_0_2_1_0; | ||
}); | ||
|
||
stylish-haskell = (unmarkBroken super.stylish-haskell).override { |
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.
Unstead of using unmarkBroken
, it is easier just to edit pkgs/development/haskell-modules/hackage-packages.nix
and mark the two derivations as not broken. (Be sure to also remove the line setting the Hydra platforms as well.)
Note that this shouldn't be done on master
, but the released branches don't get updates from Hackage anymore, so it is fine to directly edit those files.
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.
Ok, done then.
The release branches don't have the Hackage package sets updated automatically, so just targeting the 20.03 release with this PR is fine! |
Builds on x86_64 linux, so looks good to me! Thanks for fixing this up! |
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.
Oh sorry, one more thing. Can you rebase this on the release-20.03
branch instead of nixos-20.03
, and change the base branch on github?
The nixos-20.03
branch is just a copy of the 20.03 channel, while release-20.03
is the actual branch that changes go into.
Once you do this, I'll merge this in.
HsYAML-aeson: Unmark broken As suggested in the review
e7a0b53
to
dd1f0a1
Compare
In order to have this fix on my |
@monadplus If you go to https://status.nixos.org/, you get some links at the top explaining how channels are updated. Basically, once Hydra builds most of the derivations from the If you wait a few days, you should find |
@cdepillabout Thanks for taking your time to explain this to me.
I have fixed it on my local nix so everything is cool, thanks again! |
stylish-haskell depends on a more modern HsYAML version than available in
stackage. Updated to use the hackage version.
Note that
stylish-haskell
builds in master, possibly because master uses a more modern stackage LTS. I am not sure if I should pull request this to the 20.03 branch or just wait until the whole stackage version is updated for 20.03Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)