ralexstokes / mev-rs

a gateway to a network of block builders
Other
411 stars 76 forks source link

Fix nix build issue with `libffi-sys` dep (via `reth` dep) #223

Closed ralexstokes closed 4 months ago

ralexstokes commented 4 months ago

libffi-sys copies files when building and the release in reth uses a version that copies permissions on these files.

In a read-only build env like nix, this would cause a failure to proceed as the files were not writable.

Luckily, this has been fixed in libffi-sys and so we can just patch the dependency in the cargo manifest.

See links in this commit https://github.com/ralexstokes/mev-rs/pull/223/commits/571b3b8b958086871a43d020682266c388b3c0ff for further info.