Skip to content

Conversation

ada4a
Copy link

@ada4a ada4a commented Sep 13, 2025

Hi! I wanted to make some small contributions, but couldn't build the crate because of the problem with openssl-sys on NixOS: sfackler/rust-openssl#1663.

So I added a Nix dev-shell (flake.nix) with all the required dependencies and envvars, and while I could just use that locally, I figured it could be useful for other NixOS users, so here's a PR to put that in the repo.

The flake.nix itself should really require no maintenance; flake.lock can be bumped from time to time (using nix flake update), but that's not strictly necessary for a one-off contribution, so up to you.

I also added myself as the codeowner for flake files in order to take care of eventual PRs (which I, again, don't expect too many of).

This is required for building `openssl-sys` on NixOS
@Urgau
Copy link
Member

Urgau commented Sep 13, 2025

Would the nix flake still be required if we were to use rustls with aws-lc-rs (as the backend)? We may want to switch to rustls anyway.

@ada4a
Copy link
Author

ada4a commented Sep 14, 2025

Indeed not. I wanted to suggest something like that as well, but wasn't sure how much work that would be

@Urgau
Copy link
Member

Urgau commented Sep 14, 2025

Then feel free to send a PR switching to rustls.

@Urgau Urgau mentioned this pull request Sep 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants