diff --git a/pkgs/tools/networking/magic-wormhole-rs/default.nix b/pkgs/tools/networking/magic-wormhole-rs/default.nix index bb752b5cb3ab..48173f4dbe06 100644 --- a/pkgs/tools/networking/magic-wormhole-rs/default.nix +++ b/pkgs/tools/networking/magic-wormhole-rs/default.nix @@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-+OcjILDwGg0eybzBgVIZeVelnQatPU6rgd/b6buvTRQ="; - buildInputs = [ libxcb ]; + buildInputs = lib.optionals (!stdenv.hostPlatform.isDarwin) [ libxcb ]; nativeBuildInputs = [ installShellFiles ];