[Nix-dev] GHC Not picking up installed packages
Mateusz Kowalczyk
fuuzetsu at fuuzetsu.co.uk
Thu Sep 25 04:46:24 CEST 2014
On 09/24/2014 11:47 PM, emil.rangden at chas.se wrote:
> 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
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
You're probably hitting broken package IDs. You can find more info by
searching list archives.
--
Mateusz K.
More information about the nix-dev
mailing list