feat(nix): always enable liburing in all builds by default

This commit is contained in:
aviac 2026-02-20 09:32:54 +01:00 committed by Ellis Git
parent 5ce1f682f6
commit 9a3f7f4af7
4 changed files with 2 additions and 6 deletions

View file

@ -12,7 +12,6 @@
rocksdbAllFeatures = self'.packages.rocksdb.override { rocksdbAllFeatures = self'.packages.rocksdb.override {
enableJemalloc = true; enableJemalloc = true;
enableLiburing = true;
}; };
commonAttrs = (uwulib.build.commonAttrs { }) // { commonAttrs = (uwulib.build.commonAttrs { }) // {

View file

@ -27,7 +27,6 @@
commonAttrsArgs.profile = "release"; commonAttrsArgs.profile = "release";
rocksdb = self'.packages.rocksdb.override { rocksdb = self'.packages.rocksdb.override {
enableJemalloc = true; enableJemalloc = true;
enableLiburing = true;
}; };
features = { features = {
enabledFeatures = "all"; enabledFeatures = "all";

View file

@ -7,7 +7,6 @@
rust-jemalloc-sys-unprefixed, rust-jemalloc-sys-unprefixed,
enableJemalloc ? false, enableJemalloc ? false,
enableLiburing ? false,
fetchFromGitea, fetchFromGitea,
@ -32,7 +31,7 @@ in
# for some reason enableLiburing in nixpkgs rocksdb is default true # for some reason enableLiburing in nixpkgs rocksdb is default true
# which breaks Darwin entirely # which breaks Darwin entirely
enableLiburing = enableLiburing && notDarwin; enableLiburing = notDarwin;
}).overrideAttrs }).overrideAttrs
(old: { (old: {
src = fetchFromGitea { src = fetchFromGitea {
@ -74,7 +73,7 @@ in
"USE_RTTI" "USE_RTTI"
]); ]);
enableLiburing = enableLiburing && notDarwin; enableLiburing = notDarwin;
# outputs has "tools" which we don't need or use # outputs has "tools" which we don't need or use
outputs = [ "out" ]; outputs = [ "out" ];

View file

@ -11,7 +11,6 @@
uwulib = inputs.self.uwulib.init pkgs; uwulib = inputs.self.uwulib.init pkgs;
rocksdbAllFeatures = self'.packages.rocksdb.override { rocksdbAllFeatures = self'.packages.rocksdb.override {
enableJemalloc = true; enableJemalloc = true;
enableLiburing = true;
}; };
in in
{ {