robertodr / totaltrash.xyz
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ pkgs ? import <nixpkgs> {}, ghc ? pkgs.ghc }:
with pkgs;
haskell.lib.buildStackProject {
name = "website";
inherit ghc;
buildInputs = [
cabal-install
gitFull
#python3Packages.matplotlib
#python3Packages.numpy
sassc
zlib
];
# https://github.com/commercialhaskell/stack/issues/2358
LANG = "en_US.UTF-8";
# https://github.com/commercialhaskell/stack/commit/568938da
TMPDIR = "/tmp";
}