Skip to content

Commit 5c4bc70

Browse files
committed
build: add openssl to nix
1 parent 757562c commit 5c4bc70

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

flake.nix

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,12 @@
2525
};
2626
craneLib = crane.overrideToolchain toolchain;
2727

28-
buildInputs = with pkgs; lib.optionals pkgs.stdenv.isDarwin [
29-
pkgs.libiconv
30-
pkgs.darwin.apple_sdk.frameworks.Security
28+
buildInputs = with pkgs; [
29+
pkg-config
30+
openssl
31+
] ++ lib.optionals stdenv.isDarwin [
32+
libiconv
33+
darwin.apple_sdk.frameworks.Security
3134
];
3235

3336
src = pkgs.lib.cleanSourceWith {
@@ -72,6 +75,7 @@
7275

7376
packages = with pkgs; [
7477
toolchain
78+
pkg-config
7579
openssl
7680
sqlx-cli
7781
];

0 commit comments

Comments
 (0)