felix-fm: fix build on darwin

This commit is contained in:
figsoda 2023-11-06 18:10:30 -05:00
parent 48fff64bbc
commit 7d7fbf0278

View File

@ -3,6 +3,8 @@
, fetchFromGitHub
, pkg-config
, bzip2
, libgit2
, zlib
, zstd
, zoxide
}:
@ -24,11 +26,17 @@ rustPlatform.buildRustPackage rec {
buildInputs = [
bzip2
libgit2
zlib
zstd
];
nativeCheckInputs = [ zoxide ];
env = {
ZSTD_SYS_USE_PKG_CONFIG = true;
};
buildFeatures = [ "zstd/pkg-config" ];
checkFlags = [