Skip to content

Commit 264dc47

Browse files
authored
dust: fix build on Darwin (#355188)
2 parents c0c7741 + e1ada8a commit 264dc47

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

pkgs/by-name/du/dust/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ stdenv, lib, fetchFromGitHub, rustPlatform, AppKit, installShellFiles }:
1+
{ stdenv, lib, fetchFromGitHub, rustPlatform, apple-sdk_11, installShellFiles }:
22

33
rustPlatform.buildRustPackage rec {
44
# Originally, this package was under the attribute `du-dust`, since `dust` was taken.
@@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec {
2323

2424
nativeBuildInputs = [ installShellFiles ];
2525

26-
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ AppKit ];
26+
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_11 ];
2727

2828
doCheck = false;
2929

pkgs/top-level/all-packages.nix

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13874,10 +13874,6 @@ with pkgs;
1387413874

1387513875
droopy = python3Packages.callPackage ../applications/networking/droopy { };
1387613876

13877-
dust = callPackage ../by-name/du/dust/package.nix {
13878-
inherit (darwin.apple_sdk_11_0.frameworks) AppKit;
13879-
};
13880-
1388113877
dexed = darwin.apple_sdk_11_0.callPackage ../applications/audio/dexed {
1388213878
inherit (darwin.apple_sdk_11_0.frameworks) Accelerate Cocoa WebKit MetalKit DiscRecording CoreAudioKit;
1388313879
inherit (darwin.apple_sdk_11_0.libs) simd;

0 commit comments

Comments
 (0)