Merge pull request #265956 from figsoda/felix

felix-fm: fix build on darwin

authored by

Weijia Wang and committed by
GitHub
4212c65b dd3db149

+8 -5
+8 -5
pkgs/applications/file-managers/felix-fm/default.nix
··· 3 3 , fetchFromGitHub 4 4 , pkg-config 5 5 , bzip2 6 + , libgit2 7 + , zlib 6 8 , zstd 7 9 , zoxide 8 10 }: ··· 24 26 25 27 buildInputs = [ 26 28 bzip2 29 + libgit2 30 + zlib 27 31 zstd 28 32 ]; 29 33 30 34 nativeCheckInputs = [ zoxide ]; 35 + 36 + env = { 37 + ZSTD_SYS_USE_PKG_CONFIG = true; 38 + }; 31 39 32 40 buildFeatures = [ "zstd/pkg-config" ]; 33 41 ··· 36 44 "--skip=functions::tests::test_list_up_contents" 37 45 "--skip=state::tests::test_has_write_permission" 38 46 ]; 39 - 40 - # Cargo.lock is outdated 41 - postConfigure = '' 42 - cargo metadata --offline 43 - ''; 44 47 45 48 meta = with lib; { 46 49 description = "A tui file manager with vim-like key mapping";