{ pkgs ? (import <nixpkgs> {})
}:

pkgs.stdenv.mkDerivation rec {
  name = "tinc-env";
  buildInputs = [ (pkgs.haskellPackages.ghcWithPackages (p:
                    with p; [ directory-tree
                            ]))
                ];
  shellHook = ''
    export PROMPT_INFO="${name}"
  '';
}