zellij: Fix building on Darwin platform

This commit is contained in:
Ashish SHUKLA 2022-02-22 22:28:40 +05:30
parent 760736d67a
commit 72914e8861
No known key found for this signature in database
GPG key ID: C746CFA9E74FA4B0
2 changed files with 7 additions and 1 deletions

View file

@ -8,6 +8,8 @@
, openssl
, zellij
, testVersion
, DiskArbitration
, Foundation
}:
rustPlatform.buildRustPackage rec {
@ -32,6 +34,8 @@ rustPlatform.buildRustPackage rec {
openssl
] ++ lib.optionals stdenv.isDarwin [
libiconv
DiskArbitration
Foundation
];
preCheck = ''

View file

@ -11412,7 +11412,9 @@ with pkgs;
zdelta = callPackage ../tools/compression/zdelta { };
zellij = callPackage ../tools/misc/zellij { };
zellij = callPackage ../tools/misc/zellij {
inherit (darwin.apple_sdk.frameworks) DiskArbitration Foundation;
};
zenith = callPackage ../tools/system/zenith {
inherit (darwin.apple_sdk.frameworks) IOKit;