Could not find module in nix-shell

What could be the reason for missing module? $ nix-shell -p haskellPackages.ghc -p haskellPackages.random give following shell [nix-shell:~]$ ghci GHCi, version 8.0.2: http://www.haskell.org/ghc/ :? for help Loaded GHCi configuration from /data...
more »

2017-05-18 14:05 (1) Answers