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

More GHC8.8.1 fixes #68935

Merged
merged 20 commits into from Sep 17, 2019
Merged

More GHC8.8.1 fixes #68935

merged 20 commits into from Sep 17, 2019

Conversation

luc-tielen
Copy link
Contributor

@luc-tielen luc-tielen commented Sep 16, 2019

Motivation for this change

I couldn't get one of my haskell projects to work with ghc881 with hoogle, so I tried fixing what I came across.
NOTE: I have never pushed to this repo before and I still consider myself to be fairly new at using nix. So feel free to point out if I did some silly stuff. 😄

Fix #68879

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • 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 nix-review --run "nix-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)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @

Copy link
Member

@cdepillabout cdepillabout left a comment

Choose a reason for hiding this comment

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

Aside from the one thing with alex, this looks good to me.

Thanks for fixing the broken dhall-related stuff as well!

pkgs/development/haskell-modules/configuration-common.nix Outdated Show resolved Hide resolved
@cdepillabout
Copy link
Member

cdepillabout commented Sep 16, 2019

@luc-tielen Also, could you edit the message for this PR (this) and put in the text "Fix #68879" somewhere so that #68879 is automatically closed when this PR is merged in?

@cdepillabout
Copy link
Member

@alexarice Good catch with the foo = super.foo stuff.

@cdepillabout
Copy link
Member

@GrahamcOfBorg eval

Copy link
Member

@cdepillabout cdepillabout left a comment

Choose a reason for hiding this comment

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

@luc-tielen Thanks for working on this.

I tried compiling all the packages touched in this PR with the following command:

$ nix-build -E 'with (import ./. {}); haskell.packages.ghc881.ghcWithPackages (p: with p; [cabal-doctest yaml alex haskell-src-meta happy haskell-src-exts vector-th-unbox socks attoparsec vault tasty-hedgehog])'

Everything compiled successfully. I also confirmed that ats-pkg could be built.

@peti This should be ready to merge.

@peti peti merged commit ba10cfe into NixOS:haskell-updates Sep 17, 2019
@luc-tielen
Copy link
Contributor Author

Thanks! 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants