Rust: Difference between revisions

imported>FliegendeWurst
nix-shell example for openssl-sys
imported>Samuela
No edit summary
Line 82: Line 82:
<syntaxHighlight lang=console>
<syntaxHighlight lang=console>
$ nix-shell -p pkg-config openssl
$ nix-shell -p pkg-config openssl
</syntaxHighlight>
In some cases (eg [https://discourse.nixos.org/t/rust-openssl-woes/12340 here]) you may also need
<syntaxHighlight>
PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
</syntaxHighlight>
</syntaxHighlight>