oha: Enable LTO per upstream release-ci profile

This commit is contained in:
Jonathan Davies
2025-11-29 19:34:41 +00:00
parent 6908641943
commit 2879aa696e
+3
View File
@@ -22,6 +22,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
cargoHash = "sha256-M6wJy5X9JRM9tOOGT8b6YIUT0OakXQxjw17iuqaRT5s=";
CARGO_PROFILE_RELEASE_LTO = "fat";
CARGO_PROFILE_RELEASE_CODEGEN_UNITS = "1";
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [
pkg-config
];