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