Merge pull request #122639 from stephank/fix-atuin-darwin

atuin: fix darwin build
This commit is contained in:
Sandro 2021-05-12 18:16:41 +02:00 committed by GitHub
commit 78f2bae18d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 { };