heygpt: prepare for structuredAttrs by moving OPENSSL_NO_VENDOR into env

This commit is contained in:
Stefan Frijters
2025-12-30 22:53:32 +01:00
parent ae71a9ea61
commit c53319791d
+6 -4
View File
@@ -19,10 +19,12 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ openssl ];
# Needed to get openssl-sys to use pkg-config.
OPENSSL_NO_VENDOR = 1;
OPENSSL_LIB_DIR = "${lib.getLib openssl}/lib";
OPENSSL_DIR = "${lib.getDev openssl}";
env = {
# Needed to get openssl-sys to use pkg-config.
OPENSSL_NO_VENDOR = 1;
OPENSSL_LIB_DIR = "${lib.getLib openssl}/lib";
OPENSSL_DIR = "${lib.getDev openssl}";
};
meta = {
description = "Simple command-line interface for ChatGPT API";