Skip to content

Commit

Permalink
remove old Darwin SDK pattern (#354146)
Browse files Browse the repository at this point in the history
  • Loading branch information
itepastra committed Nov 18, 2024
1 parent 7dad6b2 commit 25cf65f
Showing 1 changed file with 5 additions and 18 deletions.
23 changes: 5 additions & 18 deletions pkgs/by-name/qs/qsv/package.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
darwin,
fetchFromGitHub,
file,
lib,
Expand Down Expand Up @@ -27,23 +26,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 25cf65f

Please sign in to comment.