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

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