about summary refs log tree commit diff
path: root/pkgs/tools/misc/atuin
diff options
context:
space:
mode:
authorStéphan Kochen <git@stephank.nl>2021-05-11 23:02:05 +0200
committerStéphan Kochen <git@stephank.nl>2021-05-11 23:02:05 +0200
commitd8094789f34e201c65d8593f5962b9ef1717a237 (patch)
treee4ef252795cd30984918cfc39b50017156c13b83 /pkgs/tools/misc/atuin
parent85784a66c8848de93c6ee3d0fb47ec425491f404 (diff)
atuin: fix darwin build
Diffstat (limited to 'pkgs/tools/misc/atuin')
-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 75a5fc57410e9..3157fc51b58a5 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";