File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 128128 }
129129 ) craneLibVersions ;
130130
131+ # nixpkgs' blockstream-electrs build runs a flaky `test_electrum`
132+ # integration test that fails on some sandboxes. Skip its checks.
133+ blockstreamElectrs = pkgs . blockstream-electrs . overrideAttrs ( _ : {
134+ doCheck = false ;
135+ } ) ;
136+
131137 commonArgs = {
132138 inherit src ;
133139 strictDeps = true ;
140146
141147 # tell bitcoind crate not to try to download during build
142148 BITCOIND_SKIP_DOWNLOAD = 1 ;
149+ # same for electrsd (used in payjoin-cli esplora e2e tests)
150+ ELECTRSD_SKIP_DOWNLOAD = 1 ;
143151 } ;
144152
145153 # Per-toolchain common args that include pre-vendored deps
276284 ] ;
277285 BITCOIND_EXE = pkgs . lib . getExe' pkgs . bitcoind "bitcoind" ;
278286 BITCOIND_SKIP_DOWNLOAD = 1 ;
287+ ELECTRS_EXE = pkgs . lib . getExe' blockstreamElectrs "electrs" ;
288+ ELECTRSD_SKIP_DOWNLOAD = 1 ;
279289 }
280290 ) craneLibVersions ;
281291
375385 partitionType = "count" ;
376386 cargoExtraArgs = "--locked --workspace --all-features --exclude payjoin-fuzz" ;
377387 BITCOIND_EXE = nixpkgs . lib . getExe' pkgs . bitcoind "bitcoind" ;
388+ ELECTRS_EXE = nixpkgs . lib . getExe' blockstreamElectrs "electrs" ;
378389 NGINX_EXE = nixpkgs . lib . getExe' nginxWithStream "nginx" ;
379- nativeBuildInputs = [ nginxWithStream ] ;
390+ nativeBuildInputs = [
391+ nginxWithStream
392+ blockstreamElectrs
393+ ] ;
380394 doInstallCargoArtifacts = false ;
381395 }
382396 )
You can’t perform that action at this time.
0 commit comments