summaryrefslogtreecommitdiff
path: root/shell.nix
blob: 88f254c68c1df0b55b8685c549da87b465d3d996 (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}
  '';
}