Skip to content

Commit

Permalink
git-workspace: fix darwin build
Browse files Browse the repository at this point in the history
  • Loading branch information
stephank authored and Jonathan Ringer committed May 15, 2021
1 parent d68e056 commit f00d022
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib, stdenv
, fetchFromGitHub
, rustPlatform
, Security
, libiconv, Security
, pkg-config, openssl
}:

Expand All @@ -19,7 +19,8 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-lvxEYjVMJoAFFRG5iVfGwxUeJObIxfEaWokk69l++nI=";

nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
buildInputs = [ openssl ]
++ lib.optionals stdenv.isDarwin [ libiconv Security ];

meta = with lib; {
description = "Sync personal and work git repositories from multiple providers";
Expand Down

0 comments on commit f00d022

Please sign in to comment.