Skip to content
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

Fix -inplace issue with ghc 9.8.1 boot packages #2161

Closed
wants to merge 18 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1,066 changes: 515 additions & 551 deletions materialized/dummy-ghc/ghc-9.8.1-aarch64-darwin/ghc-pkg/dump-global

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion materialized/dummy-ghc/ghc-9.8.1-aarch64-darwin/ghc/info

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1,069 changes: 517 additions & 552 deletions materialized/dummy-ghc/ghc-9.8.1-aarch64-linux/ghc-pkg/dump-global

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion materialized/dummy-ghc/ghc-9.8.1-aarch64-linux/ghc/info

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1,066 changes: 514 additions & 552 deletions materialized/dummy-ghc/ghc-9.8.1-x86_64-darwin/ghc-pkg/dump-global

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion materialized/dummy-ghc/ghc-9.8.1-x86_64-darwin/ghc/info

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1,116 changes: 505 additions & 611 deletions materialized/dummy-ghc/ghc-9.8.1-x86_64-linux/ghc-pkg/dump-global

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions materialized/dummy-ghc/ghc-9.8.1-x86_64-linux/ghc/info

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions overlays/bootstrap.nix
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ in {
# Returns true iff this derivation's version is greater than or equal to ver.
versionAtLeast = ver: !versionLessThan ver;
fromUntil = start: end: final.lib.optional (versionAtLeast start && versionLessThan end);
from = start: final.lib.optional (versionAtLeast start);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[diff] reported by reviewdog 🐶

Suggested change
from = start: final.lib.optional (versionAtLeast start);

until = end: final.lib.optional (versionLessThan end);
always = final.lib.optional true;
# Try to avoid reordering the patches unless a patch is added or changed that
Expand Down
4 changes: 0 additions & 4 deletions test/plugin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ let
project = project' {
inherit compiler-nix-name evalPackages;
src = testSrc "plugin";
cabalProjectLocal = builtins.readFile ../cabal.project.local;
modules = [{
reinstallableLibGhc = builtins.compareVersions buildPackages.haskell-nix.compiler.${compiler-nix-name}.version "9.8.1" < 0;
}];
};

packages = project.hsPkgs;
Expand Down