-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathshell.nix
More file actions
56 lines (49 loc) · 1.29 KB
/
Copy pathshell.nix
File metadata and controls
56 lines (49 loc) · 1.29 KB
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
53
54
55
56
{
stdenv,
pkgs,
lib,
# smart contract pkgs to load
pkgsContracts,
}:
pkgs.mkShell {
buildInputs = with pkgs;
[
# nix tooling
alejandra
# Go 1.25 + tools
go_1_25
gopls
delve
golangci-lint
gotools
go-mockery_2
go-task # taskfile runner
# Rust + tools
# rustc
# cargo
# solana-cli
# TS/Node set of tools for changesets
nodejs_24
(pnpm.override {nodejs = nodejs_24;})
nodePackages.typescript
nodePackages.typescript-language-server
# Required dependency for @ledgerhq/hw-transport-node-hid -> usb
nodePackages.node-gyp
# Extra tools
git
jq
yq-go # for manipulating golangci-lint config
go-task
]
++ builtins.attrValues pkgsContracts
++ lib.optionals stdenv.hostPlatform.isDarwin [
libiconv
# Required to support go build inside a nix devshell (c compiler dependency on SecTrustCopyCertificateChain/macOS 12+)
# https://github.com/NixOS/nixpkgs/issues/433688#issuecomment-3231551949
pkgs.apple-sdk_15
];
PATH_CONTRACTS_TON = "${pkgsContracts.chainlink-ton-contracts}/lib/node_modules/@chainlink/contracts-ton/build/";
shellHook = ''
echo "TON contracts located here: $PATH_CONTRACTS_TON"
'';
}