Skip to content

Commit

Permalink
Some fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yrong committed Aug 1, 2023
1 parent c6a1e70 commit cbdcbf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,12 @@
export HOME=~
export GOPATH=$PWD/go
export PATH=$GOPATH/bin:$PATH
export PATH=''${CARGO_HOME:-~/.cargo}/bin:$PATH
eval "$(direnv hook bash)"
# LIBCLANG_PATH points rocksdb to a clang.so on Linux
export LIBCLANG_PATH="$(readlink -f ${pkgs.clang}/resource-root/include | xargs dirname | xargs dirname | xargs dirname)"
# initial setup
./scripts/init.sh
cowsay "Development Environment Ready"
'';
};
Expand Down
4 changes: 2 additions & 2 deletions scripts/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
set -e

echo "Setup git hooks"
git config core.hooksPath hooks/
git config --local core.hooksPath hooks/

echo "Update submodules"
git submodule update --init --recursive || true

echo "Installing dev tools"
command -v sszgen || go install github.com/ferranbt/fastssz/sszgen@latest
go install github.com/ferranbt/fastssz/sszgen@v0.1.3

echo "Install node packages"
(cd web && pnpm install)
Expand Down

0 comments on commit cbdcbf8

Please sign in to comment.