On 30-03-2015 00:29, amin...@gmail.com wrote:
> Hey Miguel -- thanks, I've updated this. It should work for you now.
> 
> Tom

Great, thanks, now it builds easilly with nix. For future reference here
is a config.nix for vivid with IHaskel:

place in ~/.nixpkgs/config.nix

https://gist.github.com/miguel-negrao/8234ad179274e7657e2a

place in ~/.nixpkds/haskell/vivid-0.1.0.3.nix :

https://gist.github.com/miguel-negrao/ce2564ccbf32b9ad81c5

then

> nix-env -iA nixpkgs.ihaskell-with-packages --option extra-binary-caches 
> http://hydra.nixos.org --option extra-binary-caches http://hydra.cryp.to 
> --cores 4

Currently this is will build quite a few haskell packages from source.
To download almost all the packages as binaries you have to use the more
recent nixpkgs from github. Clone the nixpkgs from github to somewhere
local and then :

> nix-env -I nixpkgs=/path/to/the/clone/of/nixpkgs -iA ihaskell-with-packages 
> --option extra-binary-caches http://hydra.nixos.org --option 
> extra-binary-caches http://hydra.cryp.to -f '<nixpkgs>' --cores 4

Works nicelly in IHaskell, check how it looks here:

http://www.friendlyvirus.org/files/vivid.html

to run it you do:

IHaskell notebook

best,
Miguel

-- 

Read the whole topic here: Haskell Art:
http://lurk.org/r/topic/7cSY1qmcVtY6Xvve2pjsIZ

To leave Haskell Art, email haskell-...@group.lurk.org with the following email 
subject: unsubscribe

Reply via email to