[haskell-updates] fix hercules-ci-agent (after hackage2nix update to agent 0.7.5) #105140
+9
−3
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.
Motivation for this change
Fix hercules-ci-agent build on nixos-unstable. (after running hackage2nix, which I'm not supposed to do here)
Broken by in #103740
This took a while to fix, because
Please, please, please announce default GHC upgrades and allow some time for maintainers to actually fix packages before breaking master.
Some (many?) users regard nixos-unstable as a rolling release, so we should at least make some effort to allow fixes.
That said, I do immensely appreciate @peti's and other maintainers' efforts.
I just hope that with the next upgrade you could give us some time to fix things. IIRC something like that was mentioned in the live stream.
This upgrade really took the better part of a week to make work. I don't know where I'd have been if I had to do this before the Cabal 3.2.1.0 update...
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)