build conduwuit with debug enabled

This commit is contained in:
cy 2025-01-09 03:00:00 -05:00
parent ef1fab2038
commit d543d07698
2 changed files with 16 additions and 3 deletions

View file

@ -12,6 +12,7 @@ jobs:
- .#attic-client - .#attic-client
- .#attic-server - .#attic-server
- .#eza - .#eza
- .#conduwuit
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

View file

@ -5,13 +5,13 @@ final: prev: {
args: args:
old.rustPlatform.buildRustPackage ( old.rustPlatform.buildRustPackage (
args args
// rec { // {
version = "0.5.0-rc2"; version = "0.5.0-rc2";
src = final.fetchFromGitHub { src = final.fetchFromGitHub {
owner = "girlbossceo"; owner = "girlbossceo";
repo = "conduwuit"; repo = "conduwuit";
rev = "v${version}"; rev = "8c74e35e7640a041c1f3496d82585e5240294352";
hash = "sha256-xnwqhU3yOIyWRrD/Pq3jmUHoNZSY8Ms9h8OTsZVYQ1g="; hash = "sha256-/2YD3TXT9pQ7oPEm9wDrq35afU88qukMIWqrBX5JyXg=";
}; };
doCheck = false; doCheck = false;
cargoHash = "sha256-ZenMTCEJrALKQnW7/eXqrhFj+BedE9i/rQZMsPHl8K0="; cargoHash = "sha256-ZenMTCEJrALKQnW7/eXqrhFj+BedE9i/rQZMsPHl8K0=";
@ -20,6 +20,18 @@ final: prev: {
]; ];
# unstable has this set to "conduit" # unstable has this set to "conduit"
meta.mainProgram = "conduwuit"; meta.mainProgram = "conduwuit";
buildFeatures = [
"brotli_compression"
"element_hacks"
"gzip_compression"
# "release_max_log_level" # without this feature to enable debug logging
"sentry_telemetry"
"systemd"
"zstd_compression"
"jemalloc"
"io_uring"
];
} }
); );
}; };