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;