about summary refs log tree commit diff
path: root/pkgs/applications/file-managers
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-11-06 18:10:30 -0500
committerfigsoda <figsoda@pm.me>2023-11-06 18:10:30 -0500
commit7d7fbf027802fea876a88a70ca8d66d2665dbbf6 (patch)
tree1833ad99421cbe3f082d4bf91f78ab96c05c2cb1 /pkgs/applications/file-managers
parent48fff64bbccb000de47c93479232672c185e11c2 (diff)
felix-fm: fix build on darwin
Diffstat (limited to 'pkgs/applications/file-managers')
-rw-r--r--pkgs/applications/file-managers/felix-fm/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/applications/file-managers/felix-fm/default.nix b/pkgs/applications/file-managers/felix-fm/default.nix
index 6f30c52261aa7..60e40b9f62993 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 = [