From 74c78ac2d7708088e275556051983bdf3670f1e3 Mon Sep 17 00:00:00 2001 From: Patrick Jackson Date: Mon, 30 Oct 2023 02:18:26 -0600 Subject: [PATCH] fix(nix): Add Appkit to the package build (#1358) --- atuin.nix | 3 ++- flake.nix | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/atuin.nix b/atuin.nix index fa6d229..a233e98 100644 --- a/atuin.nix +++ b/atuin.nix @@ -12,6 +12,7 @@ libiconv, Security, SystemConfiguration, + AppKit, }: rustPlatform.buildRustPackage { name = "atuin"; @@ -26,7 +27,7 @@ rustPlatform.buildRustPackage { nativeBuildInputs = [installShellFiles]; - buildInputs = lib.optionals stdenv.isDarwin [libiconv Security SystemConfiguration]; + buildInputs = lib.optionals stdenv.isDarwin [libiconv Security SystemConfiguration AppKit]; postInstall = '' installShellCompletion --cmd atuin \ diff --git a/flake.nix b/flake.nix index de77cbf..ee5dcdd 100644 --- a/flake.nix +++ b/flake.nix @@ -17,7 +17,7 @@ pkgs = nixpkgs.outputs.legacyPackages.${system}; in { packages.atuin = pkgs.callPackage ./atuin.nix { - inherit (pkgs.darwin.apple_sdk.frameworks) Security SystemConfiguration; + inherit (pkgs.darwin.apple_sdk.frameworks) Security SystemConfiguration AppKit; }; packages.default = self.outputs.packages.${system}.atuin;