-
Notifications
You must be signed in to change notification settings - Fork 0
/
shell.nix
39 lines (30 loc) · 1.19 KB
/
shell.nix
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
30
31
32
33
34
35
36
37
38
39
(import ./default.nix).shellFor {
# ALL of these arguments are optional.
# List of packages from the project you want to work on in
# the shell (default is all the projects local packages).
packages = ps: with ps; [
megaparsec
reflex-dom-core
# pkgb
];
# Builds a Hoogle documentation index of all dependencies,
# and provides a "hoogle" command to search the index.
withHoogle = true;
# Some common tools can be added with the `tools` argument
tools = {
cabal = "latest";
# hlint = "latest"; # Selects the latest version in the hackage.nix snapshot
# haskell-language-server = "latest";
};
# See overlays/tools.nix for more details
# Some you may need to get some other way.
buildInputs = [ (import <nixpkgs> {}).pkg-config ];
# # Sellect cross compilers to include.
# crossPlatforms = ps: with ps; [
# ghcjs # Adds support for `js-unknown-ghcjs-cabal build` in the shell
# # mingwW64 # Adds support for `x86_64-W64-mingw32-cabal build` in the shell
# ];
# Prevents cabal from choosing alternate plans, so that
# *all* dependencies are provided by Nix.
#exactDeps = true;
}