treesummaryrefslogcommitdiff
path: root/shell.nix
blob: 786264f4c94c0cd547e4ecf39adec368fd765e97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ pkgs ? import <nixpkgs> {} }:

pkgs.mkShell {

  buildInputs = [
    pkgs.postgresql
    pkgs.postgresql_jdbc
    pkgs.jdk
  ];

  shellHook = ''
    exec ${pkgs.tmux}/bin/tmux \
      new -d nvim src/ \; \
      split -d -h \; \
      neww -d ./db_start.sh \; \
      a
  '';

}