We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents de567ba + 306d308 commit 12bd6a5Copy full SHA for 12bd6a5
default.nix
@@ -11,4 +11,9 @@ in naersk.buildPackage {
11
};
12
gitAllRefs = true;
13
gitSubmodules = true;
14
+ buildInputs = [
15
+ pkgs.openssl
16
+ pkgs.pkg-config
17
+ pkgs.perl
18
+ ];
19
}
shell.nix
@@ -13,6 +13,9 @@
pkgs.mkShell {
packages = with pkgs; [
+ openssl
+ pkg-config
+ perl
rustc
20
cargo
21
rust-analyzer
@@ -22,5 +25,7 @@ pkgs.mkShell {
22
25
];
23
26
24
27
RUST_SRC_PATH = "${pkgs.rust-src}/lib/rustlib/src/rust/library";
28
+ OPENSSL_DIR = "${pkgs.openssl.dev}";
29
+ OPENSSL_LIB_DIR = "${pkgs.openssl.out}/lib";
30
31
0 commit comments