diff --git a/pkgs/applications/graphics/menyoki/default.nix b/pkgs/applications/graphics/menyoki/default.nix index 77d1fd230726..afaa681437cc 100644 --- a/pkgs/applications/graphics/menyoki/default.nix +++ b/pkgs/applications/graphics/menyoki/default.nix @@ -6,6 +6,7 @@ , stdenv , libX11 , libXrandr +, AppKit , withSki ? true }: @@ -25,7 +26,8 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ installShellFiles ] ++ lib.optional stdenv.isLinux pkg-config; - buildInputs = lib.optionals stdenv.isLinux [ libX11 libXrandr ]; + buildInputs = lib.optionals stdenv.isLinux [ libX11 libXrandr ] + ++ lib.optional stdenv.isDarwin AppKit; buildNoDefaultFeatures = !withSki; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index eb61b31b3507..54e162ecdcda 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26613,6 +26613,7 @@ with pkgs; menyoki = callPackage ../applications/graphics/menyoki { inherit (xorg) libX11 libXrandr; + inherit (darwin.apple_sdk.frameworks) AppKit; }; mercurial = callPackage ../applications/version-management/mercurial {