git-workspace: fix darwin build
commitf00d022ebff7eee9115c433d9fc8f9f2ef588fb0
authorStéphan Kochen <git@stephank.nl>
dateSat 15 May 2021, 21:34 (6 years ago)
parentd68e056
pkgs/applications/version-management/git-and-tools/git-workspace/default.nix+3−2
@@ -1,7 +1,7 @@
11{ lib, stdenv
22, fetchFromGitHub
33, rustPlatform
4−, Security
4+, libiconv, Security
55, pkg-config, openssl
66}:
77
@@ -19,7 +19,8 @@ rustPlatform.buildRustPackage rec {
1919 cargoSha256 = "sha256-lvxEYjVMJoAFFRG5iVfGwxUeJObIxfEaWokk69l++nI=";
2020
2121 nativeBuildInputs = [ pkg-config ];
22− buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
22+ buildInputs = [ openssl ]
23+ ++ lib.optionals stdenv.isDarwin [ libiconv Security ];
2324
2425 meta = with lib; {
2526 description = "Sync personal and work git repositories from multiple providers";