forked from smartcontractkit/chainlink-starknet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshell.nix
41 lines (35 loc) · 999 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
41
{ stdenv, pkgs, lib }:
# juno requires building with clang, not gcc
(pkgs.mkShell.override { stdenv = pkgs.clangStdenv; }) {
buildInputs = with pkgs; [
stdenv.cc.cc.lib
(rust-bin.stable.latest.default.override { extensions = ["rust-src"]; })
python39
python39Packages.pip
python39Packages.venvShellHook
python39Packages.fastecdsa # so libgmp is correctly sourced
zlib # for numpy
gmp
nodejs-18_x
(yarn.override { nodejs = nodejs-18_x; })
nodePackages.typescript
nodePackages.typescript-language-server
nodePackages.npm
go_1_21
gopls
delve
(golangci-lint.override { buildGoModule = buildGo121Module; })
gotools
kube3d
kubectl
k9s
kubernetes-helm
] ++ lib.optionals stdenv.isLinux [
# ledger specific packages
libudev-zero
libusb1
];
LD_LIBRARY_PATH = lib.makeLibraryPath [pkgs.zlib stdenv.cc.cc.lib]; # lib64
HELM_REPOSITORY_CONFIG=./.helm-repositories.yaml;
venvDir = "./.venv";
}