Skip to content

Commit

Permalink
Add documentation for building on NixOS (option 1)
Browse files Browse the repository at this point in the history
  • Loading branch information
eopb committed Aug 27, 2023
1 parent 03bc819 commit dc6d6c3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions openssl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,17 @@
//! $ apk add pkgconfig openssl-dev
//! ```
//!
//! For NixOS, try this `shell.nix`.
//!
//! ```nix
//! { pkgs ? import <nixpkgs> {} }:
//!
//! pkgs.mkShell {
//! nativeBuildInputs = [ pkgs.pkgconfig ];
//! buildInputs = [ pkgs.openssl ];
//! }
//! ```
//!
//! ## Manual
//!
//! A set of environment variables can be used to point `openssl-sys` towards an OpenSSL installation. They will
Expand Down

0 comments on commit dc6d6c3

Please sign in to comment.