aboutsummaryrefslogtreecommitdiff
path: root/shell.nix
blob: 186912bc37dbfe998336c02a22be1d0f8163f54f (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
25
26
27
28
29
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
    (texlive.combine {
        inherit (texlive) scheme-medium marvosym enumitem bookman titlesec
        hyperref fancyhdr changepage lastpage xcolor xifthen ifmtarg;
      }
    )
  ];

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