edgeless-project / edgeless

MVP Implementation
Other
16 stars 1 forks source link

`cargo build` fails on NixOS #38

Open mor1 opened 1 year ago

mor1 commented 1 year ago

pkg-config doesn't support NixOS so it takes some fiddling to get cargo build to complete successfully.

Perhaps it would be worth looking at the native Rust TLS implementation, https://github.com/rustls/rustls, instead?

(Meanwhile I'll submit a PR that should resolve this for anyone else using NixOS with flakes :)

raphaelhetzel commented 1 year ago

We can try to remove it, but we don't use it directly. Reqwest can be switched over to rustls, have to check for cargo (which we need for the cli).

mor1 commented 1 year ago

Have used rusttls with reqwest before I think, will have a look’ later

On Mon, 4 Sep 2023 at 19:09, Raphael Hetzel @.***> wrote:

We can try to remove it, but we don't use it directly. Reqwest can be switched over to rustls, have to check for cargo (which we need for the cli).

— Reply to this email directly, view it on GitHub https://github.com/edgeless-project/edgeless_mvp/issues/38#issuecomment-1705591346, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABI7YHFZ5UQY6J5VH2HQPLXYYKNTANCNFSM6AAAAAA4KJQYOY . You are receiving this because you authored the thread.Message ID: @.***>

raphaelhetzel commented 1 year ago

yeah, that is easy, cargo is the one I have to look into.

mor1 commented 1 year ago

Ah… can’t look properly as only on phone but it may not be trivial however https://github.com/LawnGnome/cargo/commit/b0888df59b3d4d39addb920151fb1338d039471f looks relevant

On Mon, 4 Sep 2023 at 19:43, Raphael Hetzel @.***> wrote:

yeah, that is easy, cargo is the one I have to look into.

— Reply to this email directly, view it on GitHub https://github.com/edgeless-project/edgeless_mvp/issues/38#issuecomment-1705613311, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABI7YEA7M2NDGY7I4XYJJDXYYOMXANCNFSM6AAAAAA4KJQYOY . You are receiving this because you authored the thread.Message ID: @.***>

ccicconetti commented 2 days ago

Is anyone interested in this anymore @mor1 ?