selenium-manager: fix darwin build

This commit is contained in:
Martin Weinelt 2024-03-17 15:00:55 +01:00
parent 593be02a63
commit 6a92f1a8d6
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,6 +1,8 @@
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, darwin
}:
rustPlatform.buildRustPackage rec {
@ -18,6 +20,10 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-BystESOFIitw3ER2K1TPOf5luOBvKXFuqc/unL93yRY=";
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.SystemConfiguration
];
# TODO: enable tests
# The test suite depends on a number of browsers and network requests,
# check the Gentoo package for inspiration