-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
ihaskell fails to build #22047
Comments
Thanks for filing an issue! I see you already filed the GHC 8 incompatibility upstream. You could try the following patch: diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 0dc5b81..886a603 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -2253,7 +2253,7 @@ in
ihaskell = callPackage ../development/tools/haskell/ihaskell/wrapper.nix {
- inherit (haskellPackages) ihaskell ghcWithPackages;
+ inherit (haskell.packages.ghc7103) ihaskell ghcWithPackages;
ipython = python3.buildEnv.override {
extraLibs = with python3Packages; [ ipython ipykernel jupyter_client notebook ]; but it'll require re-building substantial amounts of old code that are no longer being build by hydra. If it works we can apply the patch, otherwise I think I'd vote for removing the package. What do you think? |
After applying your patch, I'm getting an error building |
Reading #18586 I doubt there is. In order to save other people time maybe we should at least add an assert with an informative message and a link to this bug so other people won't lose time trying to install ihaskell? |
Sure, that's a good idea. |
meta.broken doesn't work in buildEnv so we abort when the dependencies are evaluated. See bug for more context.
Revert "Mark ihaskell as broken. Closes #22047."
I can't see an easy way of disabling ihaskell, so I suggest removal, followed by re-introduction when fixed. @vaibhavsagar - would you be able to own this? |
I've created a pull request. |
See #22047. This change should be reverted after IHaskell has been updated to support GHC 8.
I am experiencing a similar error on current nixos-unstable channel
...
|
Issue description
IHaskell is not GHC 8 compatible, and so it doesn't build on 16.09 onwards. Instead I get this error:
Steps to reproduce
nix-build '<nixpkgs>' -A ihaskell
Technical details
The text was updated successfully, but these errors were encountered: