[Nix-dev] Haskell packages installation

Dmitry Malikov malikov.d.y at gmail.com
Sun Jul 15 20:21:32 CEST 2012


Hi.

Could you please explain how haskell packages installation is really 
works in Nixos?

For example, there is split hackage package, which is named 
haskell-split-ghc7.4.1-0.1.4.3.
I've installed it:
$ nix-env -q '*' | grep split
haskell-split-ghc7.4.1-0.1.4.3

Then I'm trying to load it from ghci:
 > :m + Data.List.Split

<no location info>:
     Could not find module `Data.List.Split'
     It is not a module in the current program, or in any known package.

What am I doing wrong?

It's hard to understand what happens after `nix-env -i 
haskell-split-ghc7.4.1` (seems like it's not installed via cabal, just 
«linked» to my profile).

-- 
Best regards,
dmitry malikov
!



More information about the nix-dev mailing list