[Nix-dev] GHC Not picking up installed packages

emil.rangden at chas.se emil.rangden at chas.se
Thu Sep 25 00:47:22 CEST 2014


follow up:

ghci -v reported that the bytestring package was unusable somehow, so
the packages that didn't show up where just those that depended on 
bytestring. :)

Deleting random haskell storepaths in my nix-store and then rebuilding 
fixed
everything.

No idea what caused this in the first place unfortunately.

On 2014-09-24 7:49, emil.rangden at chas.se wrote:
> Since updating to latest unstable half a day ago I can't make ghc
> recognise any
> installed packages anymore.
> 
> I've tried both installing imperatively with nix-env -iA etc as well as
> putting
> 
>      (haskellPackages.ghcWithPackages (self : [
>          self.xmonad
>          self.xmonadContrib
>          ...
>          ))
> 
> In configuration.nix and also a default.nix with a cabal.mkDerivation
> and list packages
> as buildDepends and using nix-shell. In all cases the packages installs
> just fine, It downloads or builds
> some new store paths but when I try import XMonad (as an example, I
> can't get any package to work) in ghci
> it says the package doesn't exist.
> 
> Any help in solving this would be greatly appreciated.
> 
> Thanks
> 
> /Emil
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


More information about the nix-dev mailing list