feat: add max-perf package

This commit is contained in:
Henry-Hiles authored and Ellis Git committed 2026-06-20 02:43:52 +00:00
1 parent 1ad4ca0f67
commit 95ddb1bbe5
1 file changed
+7 -4
+7 -4
View File
@@ -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)