We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfa1508 commit 3b66ed3Copy full SHA for 3b66ed3
shell.nix
@@ -0,0 +1,25 @@
1
+{ nixpkgs ? import <nixpkgs> {}
2
+, compiler ? "ghc802"
3
+}:
4
+
5
6
+let
7
+ inherit (nixpkgs) pkgs;
8
+ ghc = pkgs.haskell.packages."${compiler}".ghcWithPackages (ps: with ps; [
9
+ pandoc
10
+ ]);
11
+ # FIXME: TeX Live is pretty much broken in Nix right now.
12
+ # xelatex = pkgs.texlive.combine {
13
+ # inherit (pkgs.texlive) scheme-small xetex latexmk todonotes;
14
+ # };
15
+in
16
17
+pkgs.stdenv.mkDerivation {
18
+ name = "software-foundations-env";
19
20
+ buildInputs = [ ghc ];
21
+ # TODO:
22
+ # [ ghc xelatex ] ++
23
+ # (with pkgs; [ python3 ]) ++
24
+ # (with pkgs.python35Packages; [ pygments ]);
25
+}
0 commit comments