sqlpage: darwin sdk refactor

We can inherit sdk from stdenv and don't need to declare the frameworks.
This commit is contained in:
Austin Horstman 2024-11-06 14:42:25 -06:00
parent d171b45e53
commit e1ad199c2b
No known key found for this signature in database

View File

@ -5,8 +5,6 @@
pkg-config,
sqlite,
zstd,
stdenv,
darwin,
fetchurl,
}:
@ -82,16 +80,10 @@ rustPlatform.buildRustPackage rec {
pkg-config
];
buildInputs =
[
sqlite
zstd
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.CoreFoundation
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.SystemConfiguration
];
buildInputs = [
sqlite
zstd
];
env = {
ZSTD_SYS_USE_PKG_CONFIG = true;