[Nix-dev] Could not find module `Yi' (haskell editor)
Cody Goodman
codygman.consulting at gmail.com
Thu Jul 10 11:36:28 CEST 2014
I tried installing yi:
nix-env -iA nixos.pkgs.haskellPackages.yi
Then I made a config file at ~/.config/yi/yi.hs and opened it up. I
got an error that:
/home/cody/.config/yi/yi.hs:1:8:
Could not find module `Yi'
Use -v to see a list of the files searched for.
So I made a haskell source file that imported the Yi package and used
-v to compile it. I found these errors:
[cody at cody-nixos:~]$ cat helloyi.hs
import Yi
main = undefined
[cody at cody-nixos:~]$ ghc -v helloyi.hs 2> err
[cody at cody-nixos:~]$ grep yi err
Using binary package database:
/nix/store/sd2bxa3vmzxwqrlndk0lsci8yiisawc1-ghc-7.6.3/lib/ghc-7.6.3/package.conf.d/package.cache
Using package config file:
/home/cody/.nix-profile/bin/../lib/ghc-7.6.3/package.conf.d/yi-0.8.1.installedconf
Using package config file:
/home/cody/.nix-profile/bin/../lib/ghc-7.6.3/package.conf.d/yi-contrib-0.8.1.installedconf
Using package config file:
/home/cody/.nix-profile/bin/../lib/ghc-7.6.3/package.conf.d/yi-0.8.1.installedconf
Using package config file:
/home/cody/.nix-profile/bin/../lib/ghc-7.6.3/package.conf.d/yi-contrib-0.8.1.installedconf
Using package config file:
/home/cody/.nix-profile/sbin/../lib/ghc-7.6.3/package.conf.d/yi-0.8.1.installedconf
Using package config file:
/home/cody/.nix-profile/sbin/../lib/ghc-7.6.3/package.conf.d/yi-contrib-0.8.1.installedconf
package yi-0.8.1-7bac1e292b6d7d88c0768ab1c7fac0ec is unusable due to
missing or recursive dependencies:
package yi-contrib-0.8.1-db6318d81d91fe3c2fe9db6ac99ec68c is unusable
due to missing or recursive dependencies:
yi-0.8.1-7bac1e292b6d7d88c0768ab1c7fac0ec
Chasing modules from: *helloyi.hs
helloyi.hs:1:8:
Anyone experienced this problem before?
More information about the nix-dev
mailing list