diff --git a/pkgs/os-specific/darwin/spacebar/default.nix b/pkgs/by-name/sp/spacebar/package.nix similarity index 82% rename from pkgs/os-specific/darwin/spacebar/default.nix rename to pkgs/by-name/sp/spacebar/package.nix index 051bbfc46c15d..535b8d5876d81 100644 --- a/pkgs/os-specific/darwin/spacebar/default.nix +++ b/pkgs/by-name/sp/spacebar/package.nix @@ -1,4 +1,9 @@ -{ lib, stdenv, fetchFromGitHub, Carbon, Cocoa, ScriptingBridge, SkyLight }: +{ + lib, + stdenv, + fetchFromGitHub, + apple-sdk_12, +}: stdenv.mkDerivation rec { pname = "spacebar"; @@ -11,7 +16,9 @@ stdenv.mkDerivation rec { sha256 = "sha256-4LiG43kPZtsm7SQ/28RaGMpYsDshCaGvc1mouPG3jFM="; }; - buildInputs = [ Carbon Cocoa ScriptingBridge SkyLight ]; + buildInputs = [ + apple-sdk_12 + ]; installPhase = '' mkdir -p $out/bin diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ac038d9266756..333ed232c8298 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12311,11 +12311,6 @@ with pkgs; somebar = callPackage ../applications/misc/somebar { }; - spacebar = callPackage ../os-specific/darwin/spacebar { - inherit (darwin.apple_sdk.frameworks) - Carbon Cocoa ScriptingBridge SkyLight; - }; - speech-denoiser = callPackage ../applications/audio/speech-denoiser { }; splot = haskell.lib.compose.justStaticExecutables haskellPackages.splot;