From 95ddb1bbe577cd8c10a0946d655b6cdb7481765b Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Thu, 18 Jun 2026 11:11:07 -0400 Subject: [PATCH] feat: add max-perf package --- nix/packages/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/nix/packages/default.nix b/nix/packages/default.nix index 2cb692d40..1e802ae38 100644 --- a/nix/packages/default.nix +++ b/nix/packages/default.nix @@ -47,13 +47,16 @@ # users may also override this with other cargo profiles to build for other feature sets # for features configuration see `default` package which enables http3 by default - # example: different compilation profile and different target_cpu - max-perf-haswell = self'.packages.default.override { - # compiles explicitly for haswell arch cpus - target_cpu = "haswell"; + max-perf = self'.packages.default.override { # compiles slower but with more thorough optimizations profile = "release-max-perf"; }; + + # example: different compilation profile and different target_cpu + max-perf-haswell = self'.packages.max-perf.override { + # compiles explicitly for haswell arch cpus + target_cpu = "haswell"; + }; }; in (mkPackages pkgs)