haskell-generic-builder: backport disable-library-for-ghci #59303
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.
This is a backport of #59297 to 19.03.
Motivation for this change
This PR causes quite a few rebuilds of Haskell packages, but it should arguably be backported to 19.03 since it is apparently working around a GHC bug (https://gitlab.haskell.org/ghc/ghc/issues/15524) as reported by @michaelpj here.
At work we are following the release-19.03 branch, so it would be helpful for us if this PR got in 19.03 to work around the long build-times caused by this bug.
(cherry picked from commit 0698b54)
Pinging @peti.
I guess I should also ping the release manager for 19.03, but I don't remember who it is. Maybe @lheckemann or the @NixOS/backports team?
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)