fix(nix): Add Appkit to the package build (#1358)
This commit is contained in:
parent
21f3f64ad5
commit
74c78ac2d7
2 changed files with 3 additions and 2 deletions
|
@ -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 \
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue