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,
|
libiconv,
|
||||||
Security,
|
Security,
|
||||||
SystemConfiguration,
|
SystemConfiguration,
|
||||||
|
AppKit,
|
||||||
}:
|
}:
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage {
|
||||||
name = "atuin";
|
name = "atuin";
|
||||||
|
@ -26,7 +27,7 @@ rustPlatform.buildRustPackage {
|
||||||
|
|
||||||
nativeBuildInputs = [installShellFiles];
|
nativeBuildInputs = [installShellFiles];
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [libiconv Security SystemConfiguration];
|
buildInputs = lib.optionals stdenv.isDarwin [libiconv Security SystemConfiguration AppKit];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installShellCompletion --cmd atuin \
|
installShellCompletion --cmd atuin \
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
pkgs = nixpkgs.outputs.legacyPackages.${system};
|
pkgs = nixpkgs.outputs.legacyPackages.${system};
|
||||||
in {
|
in {
|
||||||
packages.atuin = pkgs.callPackage ./atuin.nix {
|
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;
|
packages.default = self.outputs.packages.${system}.atuin;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue