File tree Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Expand file tree Collapse file tree 2 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 5757 ldflags
5858 ;
5959 stdenv = buildStdenv ;
60- src = fetchFromGitHub {
61- owner = "cosmos" ;
62- repo = "evm" ;
63- rev = "79bcc14fefa4b5c82386a3fb0724c3f9a7688ba5" ;
64- hash = "sha256-QoQR7VBkAUMTj9M4qbAK76avjgiyH8htUeFFggVDExA=" ;
65- } ;
6660
67- vendorHash = "sha256-DO9SS1c5p9hSMR2M+bCxci/kdjpN7a9TZhMZhq2Efag=" ;
61+ src = lib . sourceByRegex ../../.. [
62+ "^(evmd|ante|api|client|crypto|encoding|ethereum|ibc|indexer|mempool|metrics|precompiles|proto|rpc|server|testutil|utils|version|wallets|x|eips|contracts|go.mod|go.sum|interfaces.go)($|/.*)"
63+ "^tests(/.*[.]go)?$"
64+ ] ;
65+
66+ vendorHash = null ;
6867 proxyVendor = true ;
69- sourceRoot = "source/evmd" ;
68+
69+ setSourceRoot = ''
70+ export sourceRoot=$(find . -maxdepth 2 -name "evmd" -type d | head -1)
71+ echo "evmd at: $sourceRoot"
72+ '' ;
7073 subPackages = [ "cmd/evmd" ] ;
71-
7274 preBuild = ''
7375 mkdir -p $TMPDIR/lib
7476 export CGO_ENABLED=1
7577 export CGO_LDFLAGS="-L$TMPDIR/lib $CGO_LDFLAGS"
76- export GOTOOLCHAIN=local
78+ export GOPROXY=https://proxy.golang.org,direct
7779 '' ;
7880
7981 doCheck = false ;
Original file line number Diff line number Diff line change 1111 config = { } ;
1212 } ;
1313in
14- unstable . go_1_25 or pkgs . go_1_23
14+ unstable . go_1_25
You can’t perform that action at this time.
0 commit comments