Skip to content

Commit 2c98f35

Browse files
committed
fix(nix): fix openssl not being available when building vertd-deps
1 parent b33e789 commit 2c98f35

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
@@ -37,6 +37,12 @@
3737
commonArgs = {
3838
inherit src;
3939
strictDeps = true;
40+
nativeBuildInputs = [
41+
pkgs.pkg-config
42+
];
43+
buildInputs = [
44+
pkgs.openssl
45+
];
4046
};
4147

4248
craneLibLLvmTools = craneLib.overrideToolchain (
@@ -59,10 +65,8 @@
5965
// {
6066
inherit cargoArtifacts;
6167

62-
nativeBuildInputs = [
68+
nativeBuildInputs = commonArgs.nativeBuildInputs ++ [
6369
pkgs.makeWrapper
64-
pkgs.pkg-config
65-
pkgs.openssl
6670
];
6771

6872
postFixup = ''

0 commit comments

Comments
 (0)