From e1ada8aab601a6a4e633503f8528518d2cdecf2f Mon Sep 17 00:00:00 2001 From: Aaron Jheng Date: Mon, 11 Nov 2024 20:05:16 +0800 Subject: [PATCH] dust: fix build on Darwin --- pkgs/by-name/du/dust/package.nix | 4 ++-- pkgs/top-level/all-packages.nix | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/pkgs/by-name/du/dust/package.nix b/pkgs/by-name/du/dust/package.nix index 53b095574898..6721942945e5 100644 --- a/pkgs/by-name/du/dust/package.nix +++ b/pkgs/by-name/du/dust/package.nix @@ -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; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 13d3da983e2f..458e67815da1 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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;