atuin: fix darwin build

This commit is contained in:
Stéphan Kochen 2021-05-11 23:02:05 +02:00
parent 85784a66c8
commit d8094789f3
2 changed files with 9 additions and 1 deletions

View file

@ -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";

View file

@ -156,7 +156,9 @@ in
antsimulator = callPackage ../games/antsimulator { };
atuin = callPackage ../tools/misc/atuin { };
atuin = callPackage ../tools/misc/atuin {
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
};
fiche = callPackage ../servers/fiche { };