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
Haskell: configuration-common: updates to overrides #91312
Haskell: configuration-common: updates to overrides #91312
Conversation
25ff82f
to
f03d7b3
Compare
@Anton-Latukha Thx for this work! Note that I have a slightly more sophisticated fix for hnix at #91251 so maybe you want to remove this from this PR or rebase it once the other one got merged. Other changes look good to me, but haven‘t tested the builds. |
Oh, thanks. You are right. |
f03d7b3
to
aef386c
Compare
I like the improvement of the coments. On a more general note we should definitely strive to have some standard of consistently telling our future selves when to touch an override again. |
I think someone in the past, several years ago and more (somehow I think about thoughtpolice or some other Uroboros type avatar) - had a scrip that cleared the list and tested clean builds of the It should be pretty simple to setup such crawler/walker. |
Yes, IDK why others do not do such things, that is so obvious. Even for myself I made a function that inserts those |
# Jailbreak: https://github.com/jaor/xmobar/issues/463 | ||
# The test suite tries to mess with ALSA, which doesn't work in the build sandbox. | ||
# > 0.33 => rm 464.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.
In addition to a message like > 0.33 => rm 464.patch
, would you be able to open a PR upstream asking for a new release? (Or at least a Hackage revision...) And then link to that issue here?
It is nice to have an upstream issue where we can potentially communicate with the upstream maintainer about releases.
(The same goes for nix-fmt
and possibly rib
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.
Ok.
I thought about it, obviously.
I refuted it with that it is a responsibility of maintainers to make the release to fix builds, it is not our responsibility to push them to make releases.
Of course, we can foster them, and it would give us the link to check with the same util.
I thought of it just to basically have a CLI util that returns last Hackage version.
Also, I straightly adopted a practice to cycle through open reports "New/Next release". Made a release - close its report, and open new report for the next release, have those regularly named reports - that seems logical both from an organizational and downstream community perspective.
I would open upstream report requests regarding those entries, but again, it is really the main upstream maintainers responsibility to give a release to give the community the working project builds.
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.
Done.
This thing also can be semi-automated.
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.
Ah, so this is what the Hackage revision system was made for.
Above, I asked for you to ask the maintainers to upload a new release, but in a lot of these cases, just a new revision of an existing release would be sufficient. I would expect package maintainers to know this and be able to make the call as to whether to do a new release or just bump deps in a revision.
As to whether or not we should be reporting upstream, I feel strongly that we should. Nixpkgs is often the very first place that versioning problems with various packages are found, since we automatically compile and distribute many packages from Hackage. I think it is important that we give back to the Haskell community by reporting versioning constraints that are too tight, so they can be fixed quickly.
Although I agree that this could be automated better. We would definitely welcome any tools to automate any part of the process of working with the Haskell stuff in nixpkgs!
M pkgs/development/haskell-modules/configuration-common.nix
M pkgs/development/haskell-modules/configuration-common.nix
M pkgs/development/haskell-modules/configuration-common.nix
Previously mentioned issue closed as duplicate of an older one. Issue waits upon QuickCheck release that includes a patch. M pkgs/development/haskell-modules/configuration-common.nix
M pkgs/development/haskell-modules/configuration-common.nix
M pkgs/development/haskell-modules/configuration-common.nix
M pkgs/development/haskell-modules/configuration-common.nix
aef386c
to
ed96ed8
Compare
@GrahamcOfBorg build haskellPackages.xmobar haskellPackages.statistics haskellPackages.rib haskellPackages.nixfmt haskellPackages.pantry haskellPackages.feed |
I am not sure, that we need the test on packages were you only changed the comments.^^ |
Yep, automatically populated the list. I used to updating regular packages on |
@GrahamcOfBorg build haskellPackages.xmobar |
Looks like everything is building on at least Linux! Thanks for looking into this and fixing all these up! |
Motivation for this change
Reports and PRs are merging and closing, often overrides await a release.
xmobar
: update patch descriptionstatistics
: free from overridingrib
: update override descriptionbinary-instances
: update override descriptionnixfmt
: update override descriptionpantry
: free from override and upstreamed patchfeed
: free from overrideThings 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)