diff --git a/pkgs/applications/file-managers/felix-fm/default.nix b/pkgs/applications/file-managers/felix-fm/default.nix index 6f30c52261aa..04491de0fd9f 100644 --- a/pkgs/applications/file-managers/felix-fm/default.nix +++ b/pkgs/applications/file-managers/felix-fm/default.nix @@ -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 = [ @@ -37,11 +45,6 @@ rustPlatform.buildRustPackage rec { "--skip=state::tests::test_has_write_permission" ]; - # Cargo.lock is outdated - postConfigure = '' - cargo metadata --offline - ''; - meta = with lib; { description = "A tui file manager with vim-like key mapping"; homepage = "https://github.com/kyoheiu/felix";