Merge pull request #323545 from Guanran928/wastebin

wastebin: fix build on darwin
This commit is contained in:
Weijia Wang 2024-07-01 23:42:08 +02:00 committed by GitHub
commit f65b98a8dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,6 +4,8 @@
, pkg-config
, sqlite
, zstd
, stdenv
, darwin
}:
rustPlatform.buildRustPackage rec {
@ -26,6 +28,8 @@ rustPlatform.buildRustPackage rec {
buildInputs = [
sqlite
zstd
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.SystemConfiguration
];
env = {