mirror of
https://github.com/ellie/atuin.git
synced 2024-09-11 13:15:23 +03:00
fix(nix): Add Appkit to the package build (#1358)
This commit is contained in:
parent
21f3f64ad5
commit
74c78ac2d7
@ -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 New Issue
Block a user