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)