wastebin: fix build on darwin

This commit is contained in:
Guanran Wang 2024-06-30 16:48:58 +08:00
parent 1e3deb3d8a
commit 233d98f3ba

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 = {