Package Details: ihaskell-git 0.8.4-1

Git Clone URL: (read-only, click to copy)
Package Base: ihaskell-git
Description: A Haskell kernel for Jupyter, built in a sandbox.
Upstream URL:
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 4 Next › Last »

Cookieman commented on 2015-10-23 16:27

I'm on Arch Linux and I installed IHaskell from this package on the AUR.

I get this error output when I try to install the Jupiter Kernel:

[alan@vbox ~]$ ihaskell install
Ran commands:
which jupyter
which jupyter
/usr/bin/jupyter --version
which /usr/bin/jupyter
which ihaskell
rm -f /tmp/tmpThreadId41804289383846930886
mkdir /tmp/tmpThreadId41804289383846930886
mkdir -p /tmp/tmpThreadId41804289383846930886/haskell
writefile /tmp/tmpThreadId41804289383846930886/haskell/kernel.json
cp /var/cache/pacman/pkg/ihaskell-git2711/ihaskell-git/src/IHaskell/.stack-work/install/x86_64-linux/nightly-2015-08-15/7.10.2/share/x86_64-linux-ghc-7.10.2/ihaskell- /tmp/tmpThreadId41804289383846930886/haskell/kernel.js
rm -rf /tmp/tmpThreadId41804289383846930886

during copy from: /var/cache/pacman/pkg/ihaskell-git2711/ihaskell-git/src/IHaskell/.stack-work/install/x86_64-linux/nightly-2015-08-15/7.10.2/share/x86_64-linux-ghc-7.10.2/ihaskell- to: /tmp/tmpThreadId41804289383846930886/haskell/kernel.js
Exception: /var/cache/pacman/pkg/ihaskell-git2711/ihaskell-git/src/IHaskell/.stack-work/install/x86_64-linux/nightly-2015-08-15/7.10.2/share/x86_64-linux-ghc-7.10.2/ihaskell- openBinaryFile: does not exist (No such file or directory)

Jiehong commented on 2015-10-03 06:53

@kjslag: I'll update it so that it requires ghc 7.10.1, so that you'd be warned better.

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- 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-

Jiehong commented on 2015-09-02 16:54

I should be solved by now.