2024-01-13 10:29:35 +00:00
|
|
|
# beacon_chain
|
|
|
|
# Copyright (c) 2023-2024 Status Research & Development GmbH
|
|
|
|
# Licensed and distributed under either of
|
|
|
|
# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT).
|
|
|
|
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
|
|
|
|
# at your option. This file may not be copied, modified, or distributed except according to those terms.
|
|
|
|
|
2022-10-17 15:48:58 +00:00
|
|
|
{ pkgs ? import <nixpkgs> {}}:
|
2024-01-03 16:21:56 +00:00
|
|
|
let
|
|
|
|
mkdocs-packages = ps: with ps; [
|
|
|
|
mkdocs
|
|
|
|
mkdocs-material
|
|
|
|
mkdocs-material-extensions
|
|
|
|
pymdown-extensions
|
|
|
|
];
|
|
|
|
mkdocs-python = pkgs.python3.withPackages mkdocs-packages;
|
|
|
|
in
|
2022-10-17 15:48:58 +00:00
|
|
|
with pkgs;
|
2022-10-15 01:46:30 +00:00
|
|
|
mkShell {
|
2022-10-17 15:48:58 +00:00
|
|
|
|
2022-10-15 01:46:30 +00:00
|
|
|
buildInputs = [
|
|
|
|
figlet
|
|
|
|
git
|
2024-01-03 16:11:49 +00:00
|
|
|
git-lfs
|
2022-10-15 01:46:30 +00:00
|
|
|
gnumake
|
2024-01-13 10:29:35 +00:00
|
|
|
getopt
|
2022-10-15 01:46:30 +00:00
|
|
|
|
2023-03-30 16:37:29 +00:00
|
|
|
# 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
|
2024-01-13 08:37:09 +00:00
|
|
|
openjdk # for running web3signer
|
2024-01-03 16:11:49 +00:00
|
|
|
|
2024-01-03 16:21:56 +00:00
|
|
|
mkdocs-python
|
2022-10-15 01:46:30 +00:00
|
|
|
] ++ lib.optionals (!stdenv.isDarwin) [
|
|
|
|
lsb-release
|
|
|
|
];
|
|
|
|
|
|
|
|
shellHook = ''
|
2022-10-17 15:48:58 +00:00
|
|
|
# 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
|
2024-01-13 10:29:35 +00:00
|
|
|
export USE_SYSTEM_GETOPT=1
|
2022-10-15 01:46:30 +00:00
|
|
|
|
|
|
|
figlet "Welcome to Nimbus-eth2"
|
|
|
|
'';
|
|
|
|
}
|