summaryrefslogtreecommitdiff
path: root/shell.nix
blob: 9e363eb4e6fe3744ae19b8d07f3b080eeeff5a1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{ pkgs ? (import <nixpkgs> {})
}:

pkgs.stdenv.mkDerivation rec {
  name = "dirty-haskell";
  buildInputs = with (import ./default.nix {}); [ dirty-haskell-wrapper
                                                  (pkgs.haskellPackages.ghcWithPackages (p: with p; [ regex-tdfa ]))
                                                ];
  shellHook = ''
    export PROMPT_INFO=${name}
  '';
}