git-workspace: fix darwin build
This commit is contained in:
parent
d68e0569a0
commit
f00d022ebf
@ -1,7 +1,7 @@
|
|||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, Security
|
, libiconv, Security
|
||||||
, pkg-config, openssl
|
, pkg-config, openssl
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -19,7 +19,8 @@ rustPlatform.buildRustPackage rec {
|
|||||||
cargoSha256 = "sha256-lvxEYjVMJoAFFRG5iVfGwxUeJObIxfEaWokk69l++nI=";
|
cargoSha256 = "sha256-lvxEYjVMJoAFFRG5iVfGwxUeJObIxfEaWokk69l++nI=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
|
buildInputs = [ openssl ]
|
||||||
|
++ lib.optionals stdenv.isDarwin [ libiconv Security ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Sync personal and work git repositories from multiple providers";
|
description = "Sync personal and work git repositories from multiple providers";
|
||||||
|
Loading…
Reference in New Issue
Block a user