diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2021-05-05 04:20:00 +0000 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2021-05-05 04:20:00 +0000 |
commit | 887aae03b248586f39ced28e360c9fe622cd1b36 (patch) | |
tree | 3606cbe4893fca371f4d81d0db734cdefbc736d7 /pkgs/tools/security/kbs2 | |
parent | ca6daab25b9a38eeb695c0d07d66a3bbaf730c15 (diff) |
kbs2: fix build on darwin
Diffstat (limited to 'pkgs/tools/security/kbs2')
-rw-r--r-- | pkgs/tools/security/kbs2/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/security/kbs2/default.nix b/pkgs/tools/security/kbs2/default.nix index c4c25e2473284..54c9bfa1f4b10 100644 --- a/pkgs/tools/security/kbs2/default.nix +++ b/pkgs/tools/security/kbs2/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, rustPlatform, fetchFromGitHub, installShellFiles, python3, libxcb, AppKit }: +{ lib, stdenv, rustPlatform, fetchFromGitHub, installShellFiles, python3, libxcb, AppKit, libiconv }: rustPlatform.buildRustPackage rec { pname = "kbs2"; @@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec { buildInputs = [ ] ++ lib.optionals stdenv.isLinux [ libxcb ] - ++ lib.optionals stdenv.isDarwin [ AppKit ]; + ++ lib.optionals stdenv.isDarwin [ AppKit libiconv ]; preCheck = '' export HOME=$TMPDIR |