about summary refs log tree commit diff
path: root/pkgs/servers/search/lnx/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/search/lnx/default.nix')
-rw-r--r--pkgs/servers/search/lnx/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/search/lnx/default.nix b/pkgs/servers/search/lnx/default.nix
index 447602b0463f..7cda5d44c442 100644
--- a/pkgs/servers/search/lnx/default.nix
+++ b/pkgs/servers/search/lnx/default.nix
@@ -25,7 +25,7 @@ rustPlatform.buildRustPackage {
       "compose-0.1.0" = "sha256-zcniGI3wa+gI3jFTDqHcesX+6hAtNEbW81ABPUcFTXk=";
     };
   };
-  buildInputs = lib.optionals stdenv.isDarwin [ DiskArbitration Foundation ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ DiskArbitration Foundation ];
   meta = with lib; {
     description = "Insanely fast, Feature-rich searching. lnx is the adaptable, typo tollerant deployment of the tantivy search engine. Standing on the shoulders of giants.";
     mainProgram = "lnx";