Skip to content

Commit 517c360

Browse files
committed
feat(nix): Update nix config for openssl
Signed-off-by: dark0dave <[email protected]>
1 parent 078b36f commit 517c360

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

default.nix

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
{ pkgs ? import <nixpkgs> { } }:
22
pkgs.rustPlatform.buildRustPackage rec {
33
pname = "mod_installer";
4-
version = "9.2.1";
4+
version = "10.2.0";
55
cargoLock.lockFile = ./Cargo.lock;
66
src = pkgs.lib.cleanSource ./.;
7+
buildInputs = with pkgs; [
8+
openssl
9+
];
10+
nativeBuildInputs = with pkgs; [
11+
pkg-config
12+
];
713
}

shell.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,15 @@ stdenv.mkDerivation {
66
cargo
77
git
88
gnupg
9+
openssl
910
pre-commit
1011
rustup
1112
];
13+
nativeBuildInputs = with pkgs; [
14+
pkg-config
15+
];
1216

1317
# Set Environment Variables
1418
RUST_BACKTRACE = 1;
19+
LD_LIBRARY_PATH = lib.makeLibraryPath [ openssl ];
1520
}

0 commit comments

Comments
 (0)