Skip to content

Commit 12bd6a5

Browse files
authored
Merge pull request fedimint#77 from fedimint/2022-04-fix-nix-ci
Fix CI after adding openssl dependency
2 parents de567ba + 306d308 commit 12bd6a5

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

default.nix

+5
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,9 @@ in naersk.buildPackage {
1111
};
1212
gitAllRefs = true;
1313
gitSubmodules = true;
14+
buildInputs = [
15+
pkgs.openssl
16+
pkgs.pkg-config
17+
pkgs.perl
18+
];
1419
}

shell.nix

+5
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313

1414
pkgs.mkShell {
1515
packages = with pkgs; [
16+
openssl
17+
pkg-config
18+
perl
1619
rustc
1720
cargo
1821
rust-analyzer
@@ -22,5 +25,7 @@ pkgs.mkShell {
2225
];
2326

2427
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";
2530
}
2631

0 commit comments

Comments
 (0)