forked from hoprnet/hoprnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshell.nix
49 lines (41 loc) · 961 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
42
43
44
45
46
47
48
49
{ pkgs ? import <nixpkgs> { }, ... }:
let
linuxPkgs = with pkgs; lib.optional stdenv.isLinux (
inotifyTools
);
macosPkgs = with pkgs; lib.optional stdenv.isDarwin (
with darwin.apple_sdk.frameworks; [
# macOS file watcher support
CoreFoundation
CoreServices
]
);
in
with pkgs;
mkShell {
buildInputs = [
## base
envsubst
## node, minimum recommended version is v16, see README for more details
nodejs-16_x # v16.5.0
(yarn.override { nodejs = nodejs-16_x; }) # v1.22.10
## rust for core development and required utils
(rust-bin.fromRustupToolchainFile ./rust-toolchain.toml)
## python is required by node module bcrypto
python3
# test Github automation
act
# testing utilities
websocat
jq
vagrant
shellcheck
# devops tooling
google-cloud-sdk
# used by AvadoSDK
docker-compose
# custom pkg groups
macosPkgs
linuxPkgs
];
}