Skip to content

Commit 9cfa568

Browse files
committed
fix: forces correct path for including openssl dependencies
1 parent 4d61364 commit 9cfa568

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

nix/automation/devshells.nix

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,23 @@
1010

1111
catalystCore = {...}: {
1212
name = nixpkgs.lib.mkForce "Catalyst Core";
13-
env = mkEnv {
14-
PROTOC = "${nixpkgs.protobuf}/bin/protoc";
15-
PROTOC_INCLUDE = "${nixpkgs.protobuf}/include";
16-
};
13+
env = with nixpkgs;
14+
mkEnv {
15+
OPENSSL_NO_VENDOR = 1;
16+
OPENSSL_DIR = "${l.getDev openssl}";
17+
OPENSSL_LIB_DIR = "${l.getLib openssl}/lib";
18+
PROTOC = "${protobuf}/bin/protoc";
19+
PROTOC_INCLUDE = "${protobuf}/include";
20+
};
1721
nixago = [
1822
cell.configs.lefthook
1923
cell.configs.prettier
2024
cell.configs.treefmt
2125
];
2226
packages = with nixpkgs; [
27+
gcc
2328
rustToolchain
2429
pkg-config
25-
openssl
2630
protobuf
2731
uniffi-bindgen
2832
postgresql

0 commit comments

Comments
 (0)