forked from mirrors/nixpkgs
speedtest-rs: fix darwin build
Add the required frameworks.
This commit is contained in:
parent
79ac6c8fda
commit
1e5a60fe7d
|
@ -3,6 +3,8 @@
|
|||
, fetchFromGitHub
|
||||
, openssl
|
||||
, pkg-config
|
||||
, stdenv
|
||||
, darwin
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
|
@ -16,7 +18,8 @@ rustPlatform.buildRustPackage rec {
|
|||
hash = "sha256-/d6A+Arlcc3SCKPSkYXwvqY2BRyAbA33Ah+GddHcc5M=";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl ];
|
||||
buildInputs = [ openssl ] ++
|
||||
lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue