{ pkgs ? import (import ./nix/sources.nix).nixpkgs { } }: let haskellPackages = pkgs.haskellPackages.override { overrides = self: super: { sh = self.callCabal2nix "sh" ./. { }; }; }; in { shell = haskellPackages.shellFor { packages = (_: [ haskellPackages.sh ]); buildInputs = [ pkgs.cabal-install pkgs.niv pkgs.ormolu ]; withHoogle = true; withHaddock = true; }; }