-
Notifications
You must be signed in to change notification settings - Fork 3
/
shell.nix
40 lines (36 loc) · 1003 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{ pure ? false
, source-repo-override ? { } }:
let
packages = import ./. { inherit source-repo-override; };
inherit (packages) pkgs plutus-apps plutus-starter;
inherit (plutus-starter) haskell;
cardano-node = import
(pkgs.fetchgit {
url = "https://github.com/input-output-hk/cardano-node";
# A standard release compatible with the cardano-wallet commit above is always preferred.
rev = "1.34.1";
sha256 = "1hh53whcj5y9kw4qpkiza7rmkniz18r493vv4dzl1a8r5fy3b2bv";
})
{ };
in
haskell.project.shellFor {
withHoogle = false;
nativeBuildInputs = with plutus-starter; [
hlint
cabal-install
cardano-node.cardano-cli
cardano-node.cardano-node
haskell-language-server
stylish-haskell
pkgs.niv
cardano-repo-tool
pkgs.ghcid
# HACK: This shouldn't need to be here.
pkgs.lzma.dev
] ++ (pkgs.lib.optionals pure [
pkgs.git
pkgs.cacert
pkgs.curl
pkgs.jq
]);
}