Skip to content

Commit e1ada8a

Browse files
committed
dust: fix build on Darwin
1 parent 5c1e2db commit e1ada8a

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
@@ -13881,10 +13881,6 @@ with pkgs;
1388113881

1388213882
droopy = python3Packages.callPackage ../applications/networking/droopy { };
1388313883

13884-
dust = callPackage ../by-name/du/dust/package.nix {
13885-
inherit (darwin.apple_sdk_11_0.frameworks) AppKit;
13886-
};
13887-
1388813884
dexed = darwin.apple_sdk_11_0.callPackage ../applications/audio/dexed {
1388913885
inherit (darwin.apple_sdk_11_0.frameworks) Accelerate Cocoa WebKit MetalKit DiscRecording CoreAudioKit;
1389013886
inherit (darwin.apple_sdk_11_0.libs) simd;

0 commit comments

Comments
 (0)