nearcore: prepare for structuredAttrs by moving OPENSSL_NO_VENDOR into env

This commit is contained in:
Stefan Frijters
2025-12-30 22:53:33 +01:00
parent 25bbcbd5f0
commit 8daf6d426f
+6 -4
View File
@@ -29,11 +29,13 @@ rustPlatform.buildRustPackage rec {
--replace 'get_git_version()?' '"nix:${version}"'
'';
CARGO_PROFILE_RELEASE_CODEGEN_UNITS = "1";
CARGO_PROFILE_RELEASE_LTO = "fat";
NEAR_RELEASE_BUILD = "release";
env = {
CARGO_PROFILE_RELEASE_CODEGEN_UNITS = "1";
CARGO_PROFILE_RELEASE_LTO = "fat";
NEAR_RELEASE_BUILD = "release";
OPENSSL_NO_VENDOR = 1; # we want to link to OpenSSL provided by Nix
OPENSSL_NO_VENDOR = 1; # we want to link to OpenSSL provided by Nix
};
# don't build SDK samples that require wasm-enabled rust
buildAndTestSubdir = "neard";