{ compiler ? "ghc843" , doHaddock ? false , doBenchmark ? false , doCheck ? true , withHoogle ? false , pkgs ? import (fetchGit (import ../pkgs.nix)) {} }: with pkgs; haskell.packages.${compiler}.developPackage { root = ./.; overrides = with haskell.lib; self: super: { ghc = if withHoogle then super.ghc // {withPackages = super.ghc.withHoogle;} else super.ghc; ghcWithPackages = if withHoogle then self.ghc.withPackages else super.ghcWithPackages; }; }