mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-09 22:06:21 +00:00
00d05f8170
Other changes: * Include java in the Nix development shell (so users are able to run the web3signer) * Update the simulation config files to the latest spec (so the web3signer accepts them)
41 lines
963 B
Nix
41 lines
963 B
Nix
{ pkgs ? import <nixpkgs> {}}:
|
|
let
|
|
mkdocs-packages = ps: with ps; [
|
|
mkdocs
|
|
mkdocs-material
|
|
mkdocs-material-extensions
|
|
pymdown-extensions
|
|
];
|
|
mkdocs-python = pkgs.python3.withPackages mkdocs-packages;
|
|
in
|
|
with pkgs;
|
|
mkShell {
|
|
|
|
buildInputs = [
|
|
figlet
|
|
git
|
|
git-lfs
|
|
gnumake
|
|
|
|
# For the local simulation
|
|
openssl # for generating the JWT file
|
|
lsof # for killing processes by port
|
|
killall # for killing processes manually
|
|
curl # for working with the node APIs
|
|
openjdk # for running web3signer
|
|
|
|
mkdocs-python
|
|
] ++ lib.optionals (!stdenv.isDarwin) [
|
|
lsb-release
|
|
];
|
|
|
|
shellHook = ''
|
|
# By default, the Nix wrapper scripts for executing the system compilers
|
|
# will erase `-march=native` because this introduces impurity in the build.
|
|
# For the purposes of compiling Nimbus, this behavior is not desired:
|
|
export NIX_ENFORCE_NO_NATIVE=0
|
|
|
|
figlet "Welcome to Nimbus-eth2"
|
|
'';
|
|
}
|