-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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 package set configuration clean-up #33588
Conversation
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.
Wow, very cool! Thank you very much for the effort you've put into this clean-up. 😃
I have one question about the change to hspec-core
. Once we've figured that out; I'll merge the change to the haskell-updates branch for testing on Hydra.
@@ -49,7 +49,10 @@ self: super: { | |||
Dust-crypto = dontCheck super.Dust-crypto; | |||
hasql-postgres = dontCheck super.hasql-postgres; | |||
hspec = super.hspec.override { stringbuilder = dontCheck self.stringbuilder; }; | |||
hspec-core = super.hspec-core.override { silently = dontCheck super.silently; temporary = dontCheck super.temporary; }; | |||
hspec-core = dontCheck (super.hspec-core.override { silently = dontCheck self.silently; }); |
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.
This change doesn't look right. The original version did run the hspec-core
test suite and it needed special untested variants of some dependencies to accomplish that without creating an infinite loop during evaluation. The new code does not run test suite, however, and therefore it won't need the untested version of silently
. I would suggest to either (a) enable tests of hspec-core
(which is what I'd prefer) or (b) to remove the override that passes a special version of silently
.
I just reverted the change to |
One more minor nit: can you please re-base this PR for the current |
56aeacf
to
a0d3480
Compare
Rebased now. |
Building at https://hydra.nixos.org/eval/1424581. |
Looks like I didn't break anything if I understand the output correctly? |
Motivation for this change
I went through all the overrides in the
configuration-common.nix
andconfiguration-ghc-8.2.nix
files and checked whether they were still necessary.I tested each attribute with
nix-shell -p "haskellPackages.<pkg>"
to check it still built correctly withghc822
.Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)