mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
rover: use OpenSSL from Nixpkgs
This commit is contained in:
parent
fc93b376c2
commit
7824706368
@ -1,7 +1,8 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, perl
|
||||
, pkg-config
|
||||
, rustPlatform
|
||||
, openssl
|
||||
, darwin
|
||||
, stdenv
|
||||
}:
|
||||
@ -19,16 +20,22 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoHash = "sha256-Rf4kRXYW+WAF1rM7o8PmXBLgp/YyA8y/TqbZL22VOqI=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
buildInputs = [
|
||||
openssl
|
||||
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
darwin.apple_sdk.frameworks.CoreServices
|
||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
perl
|
||||
pkg-config
|
||||
];
|
||||
|
||||
env = {
|
||||
OPENSSL_NO_VENDOR = true;
|
||||
};
|
||||
|
||||
# This test checks whether the plugins specified in the plugins json file are
|
||||
# valid by making a network call to the repo that houses their binaries; but, the
|
||||
# build env can't make network calls (impurity)
|
||||
|
Loading…
Reference in New Issue
Block a user