about summary refs log tree commit diff
path: root/pkgs/servers/search
diff options
context:
space:
mode:
authorJonathan Davies <jpds@protonmail.com>2024-06-16 19:10:24 +0100
committerJonathan Davies <jpds@protonmail.com>2024-06-16 23:18:43 +0100
commit6e577b6da1bcbf7c8463805d88518e15561071dc (patch)
tree78b808ec73c187c96c6f12a4c36e4551e570cb93 /pkgs/servers/search
parent87bded6713aae23d5a2cd2229839e002a516d5ce (diff)
quickwit: Enable full LTO build
Diffstat (limited to 'pkgs/servers/search')
-rw-r--r--pkgs/servers/search/quickwit/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/servers/search/quickwit/default.nix b/pkgs/servers/search/quickwit/default.nix
index ece87aa43ae27..e99289b089545 100644
--- a/pkgs/servers/search/quickwit/default.nix
+++ b/pkgs/servers/search/quickwit/default.nix
@@ -96,6 +96,9 @@ rustPlatform.buildRustPackage rec {
     };
   };
 
+  CARGO_PROFILE_RELEASE_LTO = "fat";
+  CARGO_PROFILE_RELEASE_CODEGEN_UNITS = "1";
+
   # needed for internal protobuf c wrapper library
   PROTOC = "${protobuf}/bin/protoc";
   PROTOC_INCLUDE = "${protobuf}/include";