{ nixpkgs ? import {}, compiler ? "default" }: let inherit (nixpkgs) pkgs; haskellPackages = if compiler == "default" then pkgs.haskellPackages else pkgs.haskell.packages.${compiler}; drv = haskellPackages.callPackage ./postdelay.nix {}; in pkgs.stdenv.lib.overrideDerivation drv.env (oldAttrs: { buildInputs = oldAttrs.buildInputs ++ (with pkgs; [ cabal2nix gup ]); shellHook = '' ${oldAttrs.shellHook} export PROMPT_INFO="${oldAttrs.name}" ''; })