Skip to content

fix(nix): add perl to buildInputs for openssl-sys vendored build#966

Open
t4min0 wants to merge 1 commit intoRightNow-AI:mainfrom
t4min0:fix/nix-perl-buildinput
Open

fix(nix): add perl to buildInputs for openssl-sys vendored build#966
t4min0 wants to merge 1 commit intoRightNow-AI:mainfrom
t4min0:fix/nix-perl-buildinput

Conversation

@t4min0
Copy link
Copy Markdown

@t4min0 t4min0 commented Apr 2, 2026

Summary

Since v0.5.4, native-tls uses features = ["vendored"], which compiles OpenSSL from source via openssl-sys. This requires perl for the OpenSSL Configure script, but perl was missing from the flake's buildInputs.

Mirrors the Dockerfile fix in #952. Fixes #894.

Changes

  • Added perl to rust-project.defaults.perCrate.crane.args.buildInputs in flake.nix

Testing

  • cargo clippy --workspace --all-targets -- -D warnings passes
  • cargo test --workspace passes
  • Live integration tested (if applicable)

Security

  • No new unsafe code
  • No secrets or API keys in diff
  • User input validated at boundaries

Since v0.5.4, native-tls uses features = ["vendored"], which compiles OpenSSL from source via openssl-sys. This requires perl for the OpenSSL Configure script, but perl was missing from the flake's buildInputs.

Mirrors the Dockerfile fix in RightNow-AI#952. Fixes RightNow-AI#894.
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.

[Bug] nix build fails on v0.5.4+: native-tls vendored feature requires perl missing from flake buildInputs

1 participant