didyoumean: use new Darwin SDK pattern

This commit is contained in:
Theodore Ni 2024-11-10 14:56:28 -08:00
parent 2c6889b18a
commit 2dec13d495
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474
2 changed files with 1 additions and 7 deletions

View File

@ -6,8 +6,6 @@
, pkg-config
, libxcb
, openssl
# Darwin dependencies
, AppKit
}:
rustPlatform.buildRustPackage rec {
@ -32,8 +30,6 @@ rustPlatform.buildRustPackage rec {
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
libxcb
openssl
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
AppKit
];
postInstall = ''

View File

@ -389,9 +389,7 @@ with pkgs;
device-tree_rpi = callPackage ../os-specific/linux/device-tree/raspberrypi.nix { };
didyoumean = callPackage ../tools/misc/didyoumean {
inherit (darwin.apple_sdk.frameworks) AppKit;
};
didyoumean = callPackage ../tools/misc/didyoumean { };
diffPlugins = (callPackage ../build-support/plugins.nix {}).diffPlugins;