didyoumean: use new Darwin SDK pattern
This commit is contained in:
parent
2c6889b18a
commit
2dec13d495
@ -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 = ''
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user