dust: fix build on Darwin

This commit is contained in:
Aaron Jheng
2024-11-11 20:05:16 +08:00
parent 5c1e2db527
commit e1ada8aab6
2 changed files with 2 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, rustPlatform, AppKit, installShellFiles }:
{ stdenv, lib, fetchFromGitHub, rustPlatform, apple-sdk_11, installShellFiles }:
rustPlatform.buildRustPackage rec {
# Originally, this package was under the attribute `du-dust`, since `dust` was taken.
@@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ installShellFiles ];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ AppKit ];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_11 ];
doCheck = false;

View File

@@ -13881,10 +13881,6 @@ with pkgs;
droopy = python3Packages.callPackage ../applications/networking/droopy { };
dust = callPackage ../by-name/du/dust/package.nix {
inherit (darwin.apple_sdk_11_0.frameworks) AppKit;
};
dexed = darwin.apple_sdk_11_0.callPackage ../applications/audio/dexed {
inherit (darwin.apple_sdk_11_0.frameworks) Accelerate Cocoa WebKit MetalKit DiscRecording CoreAudioKit;
inherit (darwin.apple_sdk_11_0.libs) simd;