diff --git a/pkgs/servers/amqp/rabbitmq-server/default.nix b/pkgs/servers/amqp/rabbitmq-server/default.nix index 6b220efca66b..2e1483deeb05 100644 --- a/pkgs/servers/amqp/rabbitmq-server/default.nix +++ b/pkgs/servers/amqp/rabbitmq-server/default.nix @@ -20,9 +20,6 @@ gnused, systemd, glibcLocales, - AppKit, - Carbon, - Cocoa, nixosTests, which, }: @@ -64,19 +61,13 @@ stdenv.mkDerivation rec { which ]; - buildInputs = - [ - erlang - elixir - libxml2 - libxslt - glibcLocales - ] - ++ lib.optionals stdenv.hostPlatform.isDarwin [ - AppKit - Carbon - Cocoa - ]; + buildInputs = [ + erlang + elixir + libxml2 + libxslt + glibcLocales + ]; outputs = [ "out" diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3033b6497693..38982497a655 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12178,7 +12178,6 @@ with pkgs; qremotecontrol-server = libsForQt5.callPackage ../servers/misc/qremotecontrol-server { }; rabbitmq-server = callPackage ../servers/amqp/rabbitmq-server { - inherit (darwin.apple_sdk.frameworks) AppKit Carbon Cocoa; erlang = erlang_26; };