summaryrefslogtreecommitdiff
path: root/shell.nix
blob: 2f0254344efe6589ab7fbae4b81985871b5732c7 (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
{ pkgs ? (import <nixpkgs> {})
}:

pkgs.stdenv.mkDerivation rec {
  name = "uni-env";
  buildInputs = [ pkgs.gup
                  pkgs.jdk
                  pkgs.zip
                  pkgs.strace
                  pkgs.gcc
                  (pkgs.callPackage ./mars.nix {})
                  pkgs.sqlite
                  (pkgs.haskellPackages.ghcWithPackages (p:
                    with p; [ yesod yesod-bin pandoc monad-par persistent-sqlite
                            ]))
	          (pkgs.texlive.combine {
		    inherit (pkgs.texlive) scheme-small libertine tipa cm-super context bussproofs mweights fontaxes backnaur enumitem varwidth beamer algorithms tikz-qtree circuitikz todonotes;
		  })
                ];
  shellHook = ''
    export PROMPT_INFO="${name}"
    export _JAVA_AWT_WM_NONREPARENTING=1
  '';
}