-
Notifications
You must be signed in to change notification settings - Fork 0
/
shell.nix
32 lines (26 loc) · 1.03 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
{ defaultPlatformProject ? import ./default.nix {} }:
defaultPlatformProject.propellor.shellFor {
# Include only the *local* packages of your project.
packages = ps: with ps; [
propellor
#pkgb
];
# Builds a Hoogle documentation index of all dependencies,
# and provides a "hoogle" command to search the index.
withHoogle = true;
# You might want some extra tools in the shell (optional).
# Some common tools can be added with the `tools` argument
#tools = { cabal = "latest"; hlint = "latest"; };
tools = { cabal = defaultPlatformProject.pkgs.haskell-nix.cabal-install.ghc928.version;
hasktags = "latest";
haskell-language-server = "latest";
};
# See overlays/tools.nix for more details
# Some you may need to get some other way.
buildInputs = with defaultPlatformProject.pkgs;
#[ ghcid lorri niv ];
[ ];
# Prevents cabal from choosing alternate plans, so that
# *all* dependencies are provided by Nix.
exactDeps = true;
}