mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-02 17:09:09 +03:00
Merge pull request #265956 from figsoda/felix
felix-fm: fix build on darwin
This commit is contained in:
commit
4212c65b78
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user