nixos-config/overlay/conduwuit/default.nix

40 lines
1.2 KiB
Nix
Raw Permalink Normal View History

2025-01-05 16:45:18 -05:00
final: prev: {
conduwuit = prev.conduwuit.override (old: {
rustPlatform = old.rustPlatform // {
buildRustPackage =
args:
old.rustPlatform.buildRustPackage (
args
2025-01-09 03:00:00 -05:00
// {
2025-01-05 16:45:18 -05:00
version = "0.5.0-rc2";
src = final.fetchFromGitHub {
owner = "girlbossceo";
repo = "conduwuit";
2025-01-09 03:00:00 -05:00
rev = "8c74e35e7640a041c1f3496d82585e5240294352";
hash = "sha256-/2YD3TXT9pQ7oPEm9wDrq35afU88qukMIWqrBX5JyXg=";
2025-01-05 16:45:18 -05:00
};
doCheck = false;
cargoHash = "sha256-ZenMTCEJrALKQnW7/eXqrhFj+BedE9i/rQZMsPHl8K0=";
cargoPatches = [
./fix-lint.patch
];
# unstable has this set to "conduit"
meta.mainProgram = "conduwuit";
2025-01-09 03:00:00 -05:00
buildFeatures = [
"brotli_compression"
"element_hacks"
"gzip_compression"
2025-01-09 15:38:08 -05:00
"release_max_log_level" # without this feature to enable debug logging
2025-01-09 03:00:00 -05:00
"sentry_telemetry"
"systemd"
"zstd_compression"
"jemalloc"
"io_uring"
];
2025-01-05 16:45:18 -05:00
}
);
};
});
}