Skip to content

Commit

Permalink
remove old Darwin SDK pattern (NixOS#354146)
Browse files Browse the repository at this point in the history
  • Loading branch information
itepastra committed Nov 18, 2024
1 parent 7dad6b2 commit 3879ee8
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions pkgs/by-name/qs/qsv/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,11 @@ rustPlatform.buildRustPackage {
useFetchCargoVendor = true;
cargoHash = "sha256-tu9HCFAxmmYVgmJyHunBtGSqKGzwbX2vi6ju4cv33wc=";

buildInputs =
[
file
sqlite
zstd
]
++ lib.optionals stdenv.hostPlatform.isDarwin (
with darwin.apple_sdk.frameworks;
[
AppKit
CoreFoundation
CoreGraphics
IOKit
Security
SystemConfiguration
]
);
buildInputs = [
file
sqlite
zstd
];

nativeBuildInputs = [
pkg-config
Expand Down

0 comments on commit 3879ee8

Please sign in to comment.