If you use ghcWithHoogle, passing only null dependencies, it will crash with
error: value is null while a set was expected, at /nix/store/v8s18h7r1fxmajdzn0f1ybpyl7m2c1di-nixos-17.09.2138.48bf1f43cd/nixos/pkgs/development/haskell-modules/hoogle.nix:73:43
Example failure:
{ pkgs ? import <nixpkgs> {} }:
pkgs.haskellPackages.ghcWithHoogle (p: with p; [base bytestring])
Example success:
{ pkgs ? import <nixpkgs> {} }:
pkgs.haskellPackages.ghcWithHoogle (p: with p; [base bytestring text])
If you use
ghcWithHoogle, passing only null dependencies, it will crash withExample failure:
Example success: