-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shell.nix
24 lines (24 loc) · 704 Bytes
/
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
let
pkgs = import <nixpkgs> { };
pgrest = pkgs.haskellPackages.callPackage ./default.nix { };
hsTools = with pkgs.haskellPackages; [
cabal-install hpack haskell-language-server
haskell-dap ghci-dap hlint random text-show cassava
hsc2hs hint
];
rTools = with pkgs.rPackages; [
svglite
# rmarkdown
# knitr
# rgl
# magick
# ggplot2
# rgdal
];
in
pkgs.mkShell {
inputsFrom = [ (pkgs.haskellPackages.callCabal2nix "practical-haskell" ./hs_binding { }).env ];
buildInputs = (with pkgs.haskellPackages; [
cabal-install haskell-language-server hlint
] ++ [ pkgs.zlib pkgs.libiconv pkgs.R pkgs.cargo pkgs.rustc ] ++ hsTools ++ rTools);
}