kbs2: fix build on darwin
This commit is contained in:
parent
ca6daab25b
commit
887aae03b2
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, rustPlatform, fetchFromGitHub, installShellFiles, python3, libxcb, AppKit }:
|
{ lib, stdenv, rustPlatform, fetchFromGitHub, installShellFiles, python3, libxcb, AppKit, libiconv }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "kbs2";
|
pname = "kbs2";
|
||||||
|
@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
buildInputs = [ ]
|
buildInputs = [ ]
|
||||||
++ lib.optionals stdenv.isLinux [ libxcb ]
|
++ lib.optionals stdenv.isLinux [ libxcb ]
|
||||||
++ lib.optionals stdenv.isDarwin [ AppKit ];
|
++ lib.optionals stdenv.isDarwin [ AppKit libiconv ];
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
export HOME=$TMPDIR
|
export HOME=$TMPDIR
|
||||||
|
|
Loading…
Reference in a new issue