Package Details: ihaskell-git 0.8.4-1

Git Clone URL: https://aur.archlinux.org/ihaskell-git.git (read-only, click to copy)
Package Base: ihaskell-git
Description: A Haskell kernel for Jupyter, built in a sandbox.
Upstream URL: https://github.com/gibiansky/IHaskell
Licenses: MIT
Provides: ihaskell
Submitter: Jiehong
Maintainer: AwesomeHaircut
Last Packager: AwesomeHaircut
Votes: 10
Popularity: 0.000000
First Submitted: 2015-08-26 20:33
Last Updated: 2017-12-06 02:35

Latest Comments

« First ‹ Previous 1 2 3

Jiehong commented on 2015-10-03 06:46

@kjslag: That's because extra is providing ghc 7.10.1 at the moment, and I need to patch the stack.yaml file to ensure it builds for people using official repositories.

However, you can simply have it working by not applying the patch, and it should be compiling for ghc 7.10.2.

I will not update it without extra changing its ghc version (which is flagged out of date since July, 29th…).

kjslag commented on 2015-10-01 21:49

Sorry, I accidentally flagged the package while trying to vote for it on my phone

kjslag commented on 2015-10-01 06:13

I'm using the haskell-core repo, which provides ghc-7.10.2. However, stack built ihaskell using 7.10.1 and this seems to be causing issues:

$ ipython console --kernel haskell
Run from outside a project, using implicit global config
Using latest snapshot resolver: lts-3.7
Writing global (non-project-specific) config file to: /home/k/.stack/global/stack.yaml
Note: You can change the snapshot via the resolver field there.
Downloading lts-3.7 build plan ...
Jupyter Console 4.0.2

[ZMQTerminalIPythonApp] Loading IPython extension: storemagic
Downloaded lts-3.7 build plan.
Caching build plan
ihaskell: Bad interface file: /usr/lib/ghc-7.10.2/base_GDytRqRVSUX7zckgKqJjgw/Prelude.hi
mismatched interface file versions (wanted "7101", got "7102")
Bad interface file: /usr/lib/ghc-7.10.2/direc_KowvXytSqazBcvN7MGpFtg/System/Directory.hi
mismatched interface file versions (wanted "7101", got "7102")
Bad interface file: /usr/lib/ghc-7.10.2/unix_A3WgcI5QiHK4PDo4jSYdwQ/System/Posix/IO.hi
mismatched interface file versions (wanted "7101", got "7102")
Bad interface file: /usr/lib/ghc-7.10.2/base_GDytRqRVSUX7zckgKqJjgw/System/IO.hi
mismatched interface file versions (wanted "7101", got "7102")
Bad interface file: /usr/lib/ghc-7.10.2/templ_1ejK907jvoTHoZ6iZtHeyN/Language/Haskell/TH.hi
mismatched interface file versions (wanted "7101", got "7102")

ERROR: Kernel did not respond

Shutting down kernel

Jiehong commented on 2015-09-20 21:47

@ksira: Cheers! :)

ksira commented on 2015-09-18 23:33

@Jiehong You probably mean `stack setup` that will download the latest ghc required for this package. A `stack setup` in this PKGBUILD is safe to include in the build section. It will not reinstall if the command has not been run.

Jiehong commented on 2015-09-02 21:16

@cutuchiqueno: If you never used Haskell before, it probably means that `stack` isn't initialized. Make sure to run `stack init` before installing ihaskell, and I think it should work.

On my side, I don't get the error, but I've added a note at the end of the package.

Likewise, make sure to read the 3 lines of notes displayed after building the package, because you may have to change your …/.stack/global/stack.yaml, and run `ihaskell install` the first time.

Also, you should end up with a package of roughly 75 MiB if every works fine ;)

cutuchiqueno commented on 2015-09-02 18:46

Thx fro the quick reaction! Now I get this error but since I hadn't experienced it before anywhere and I am still kind of new to Haskell I don't know if the error relates to the AUR package or to my Haskell environment.

NOTE: the install command is functionally equivalent to 'build --copy-bins'
Didn't see bin-package-db-0.0.0.0 in your package indices. Updating and trying again.
Fetched package index.
Populated index cache.
The following package identifiers were not found in your indices: bin-package-db-0.0.0.0

Jiehong commented on 2015-09-02 16:54

I should be solved by now.

cutuchiqueno commented on 2015-09-02 14:23

==> Beginne prepare()...
==> FEHLER: Ein Fehler geschah in prepare().
Breche ab...

patching file stack.yaml
Hunk #1 FAILED at 37.
1 out of 1 hunk FAILED -- saving rejects to file stack.yaml.rej