-
Notifications
You must be signed in to change notification settings - Fork 8
/
shell.nix
52 lines (43 loc) · 1.24 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
40
41
42
43
44
45
46
47
48
49
50
51
52
with import ./nix { };
(plutus-apps.plutus-apps.haskell.project.shellFor ({
# Select packages who's dependencies should be added to the shell env
packages = ps: [ ];
# Select packages which should be added to the shell env, with their dependencies
# Should try and get the extra cardano dependencies in here...
additional = ps:
with ps; [
plutus-tx
plutus-tx-plugin
plutus-ledger-api
pab.plutus_ledger_with_docs
plutus-pab
plutus-core
plutus-contract
playground-common
prettyprinter-configurable
plutus-use-cases
cabal-doctest
];
withHoogle = true;
# Extra haskell tools (arg passed on to mkDerivation)
# Using the plutus.pkgs to use nixpkgs version from plutus (nixpkgs-unstable, mostly)
propagatedBuildInputs = with pkgs; [
# Haskell Tools
stack
cabal-install
haskellPackages.ormolu
entr
git
ghc
nixfmt
haskellPackages.apply-refact
plutus.plutus.hlint
plutus.plutus.haskell-language-server
haskellPackages.retrie
### Example contracts
plutus-apps.plutus-pab-examples
];
buildInputs = (with plutus-apps.pkgs;
[ zlib pkg-config libsodium-vrf R ]
++ (lib.optionals (!stdenv.isDarwin) [ systemd ]));
}))