summary refs log tree commit diff
path: root/pkgs/tools/misc/atuin/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/atuin/default.nix')
-rw-r--r--pkgs/tools/misc/atuin/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/tools/misc/atuin/default.nix b/pkgs/tools/misc/atuin/default.nix
index 75a5fc57410..3157fc51b58 100644
--- a/pkgs/tools/misc/atuin/default.nix
+++ b/pkgs/tools/misc/atuin/default.nix
@@ -1,6 +1,10 @@
 { lib
+, stdenv
 , fetchFromGitHub
 , rustPlatform
+, libiconv
+, Security
+, SystemConfiguration
 }:
 
 rustPlatform.buildRustPackage rec {
@@ -16,6 +20,8 @@ rustPlatform.buildRustPackage rec {
 
   cargoSha256 = "0vy6q3hjp374lyg00zxim8aplh83iq3f4rrmpz5vnpwbag1fdql3";
 
+  buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security SystemConfiguration ];
+
   meta = with lib; {
     description = "Replacement for a shell history which records additional commands context with optional encrypted synchronization between machines";
     homepage = "https://github.com/ellie/atuin";