{ pkgs ? (import {}) , compiler ? "ghc7102" }: let ghc = pkgs.haskell.packages.${compiler}.ghcWithPackages (ps: with ps; [ cabal-install hlint cabal2nix ] ++ (builtins.attrValues (import ./default.nix {}))); in pkgs.stdenv.mkDerivation { name = "thermoprinter-env"; buildInputs = [ ghc ]; shellHook = "eval $(egrep ^export ${ghc}/bin/ghc)"; }