aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
blob: a34dfbc9d32d9b032efe397e435372b0804f3002 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
with (import (builtins.fetchGit {
  name = "nixpkgs-20.03";
  url = "git@github.com:nixos/nixpkgs.git";
  rev = "5272327b81ed355bbed5659b8d303cf2979b6953";
  ref = "refs/tags/20.03";
}) {});

haskell.lib.buildStackProject {
  name = "myenv";

  buildInputs = [
    cabal-install
    zlib
    stack
    nodePackages.nodemon
    tmux
    tmuxinator
    nodejs
  ];

  shellHook = ''
    export PATH=node_modules/.bin:$PATH;
  '';
}