Skip to content

Commit

Permalink
fix: openssl dependency on NixOS systems
Browse files Browse the repository at this point in the history
Set the env variable `OPENSSL_NO_VENDOR` to `1` which forces the
`openssl-sys` crate to use `pkg-config` to find the local version of
openssl.
  • Loading branch information
cdunster committed Sep 4, 2024
1 parent e05a36d commit 786526b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@
pkgs.httpie
pkgs.shellcheck
pkgs.statix
pkgs.pkg-config
pkgs.openssl
inputs'.holonix.packages.holochain
inputs'.holonix.packages.lair-keystore
inputs'.holonix.packages.hn-introspect
Expand All @@ -88,6 +90,8 @@
pkgs.darwin.apple_sdk.frameworks.CoreFoundation
];

OPENSSL_NO_VENDOR = 1;

shellHook = ''
source ./scripts/influx.sh
source ./scripts/telegraf.sh
Expand Down

0 comments on commit 786526b

Please sign in to comment.