You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I decided to leave haskell-lsp and haskell-lsp-types as extra packages,
because they will get bumped before the next ghcide release, and then
the version pinned by ghcide would be missing again.
Also I have run hackage2nix to automatically generate the changes.
If desired I can split the second part into its own commit, would that be better?
Motivation for this change
Fix new ghcide version.
Things done
Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)
NixOS
macOS
other Linux distributions
Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
Tested execution of all binary files (usually in ./result/bin/)
Determined the impact on package closure size (by running nix path-info -S before and after)
@maralorn In general we don't modify the hackage-packages.nix file manually, but wait for the automatic daily update thing to run. (Which is slightly annoying, because it is hard to test that the PR will actually work.)
Could you remove the changes to hackage-packages.nix from this PR?
@cdepillabout Last friday @peti said, that he is totally open for others to also run the hackage-packages.nix update. So I thought this is fine.
I saw him rebasing all updates together before merging into master so maybe I should do it into it's own commit with the standard commit-message that ./update-nixpkgs.sh generates?
I think doing PRs like this is better for testing. But we can stick with the other way if that‘s preferred.
EDIT: Anyways I removed it, because I prefer this PR to be merged quickly.
I decided to leave haskell-lsp and haskell-lsp-types as extra packages,
because they will get bumped before the next ghcide release, and then
the version pinned by ghcide would be missing again.
In general we don't modify the hackage-packages.nix file manually, but wait for the automatic daily update thing to run.
I believe that no harm can come from people submitting changes to hackage-packages.nix that were generated by running hackage2nix properly. Those changes should not cause any merge conflicts when the generator commits the next update since it generates the exact same change. What we don't is people committing random manual changes to the file, obviously, but changes that come from hackage2nix should be safe.
In the future, I'll be sure to merge PRs even if they contain changes to hackage-packages.nix, as long as those changes have been generated by hackage2nix properly.
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.
I decided to leave haskell-lsp and haskell-lsp-types as extra packages,
because they will get bumped before the next ghcide release, and then
the version pinned by ghcide would be missing again.
Also I have run hackage2nix to automatically generate the changes.
If desired I can split the second part into its own commit, would that be better?
Motivation for this change
Fix new ghcide version.
Things done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)