Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Has been skipped
Auto Labeler / Apply labels based on changed files (pull_request_target) Successful in 3s
Checks / Prek / Check changed files (pull_request) Successful in 4s
Checks / Changelog / Check changelog is added (pull_request_target) Successful in 9s
Checks / Prek / Clippy and Cargo Tests (pull_request) Has been skipped
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 1m6s
Update flake hashes / update-flake-hashes (pull_request) Has been cancelled
Build / Debian DEB / build (debian-latest) (push) Failing after 8m59s
Build / Debian DEB / build (debian-oldstable) (push) Failing after 10m38s
Build / Debian DEB / build (ubuntu-latest) (push) Failing after 9m53s
Build / Debian DEB / build (ubuntu-previous) (push) Failing after 9m55s
Build / Static via Nix / Build conduwuit-linux-static-amd64 Binary (push) Successful in 18m20s
Build / Static via Nix / Build conduwuit-linux-static-arm64 Binary (push) Successful in 15m14s
Build / Static via Nix / Build conduwuit-haswell-linux-static-amd64-maxperf Binary (push) Successful in 41m4s
Documentation / Build and Deploy Documentation (push) Successful in 1m17s
Build / Fedora RPM / build (push) Successful in 50m10s
Release Docker Image / Build linux-amd64 (release) (push) Successful in 14m54s
Release Docker Image / Build linux-arm64 (release) (push) Successful in 13m34s
Build / Static via Nix / Build conduwuit-linux-static-arm64-maxperf Binary (push) Successful in 27m37s
Build / Static via Nix / Release Binaries (push) Successful in 24s
Release Docker Image / Create Multi-arch Release Manifest (push) Successful in 21s
Release Docker Image / Build linux-amd64 (max-perf) (push) Successful in 33m47s
Release Docker Image / Build linux-arm64 (max-perf) (push) Successful in 29m1s
Release Docker Image / Create Max-Perf Manifest (push) Successful in 18s
Release Docker Image / Release Binaries (push) Successful in 23s
Release Docker Image / Mirror Images (push) Successful in 5m22s
Needed for backport.
36 lines
1.3 KiB
Nix
36 lines
1.3 KiB
Nix
{
|
|
# stdenv,
|
|
# enableJemalloc ? stdenv.hostPlatform.isLinux,
|
|
enableJemalloc ? false,
|
|
rocksdb,
|
|
fetchFromGitea,
|
|
rust-jemalloc-sys-unprefixed,
|
|
...
|
|
}:
|
|
(rocksdb.override {
|
|
# rocksdb fails to build with prefixed jemalloc, which is required on
|
|
# darwin due to [1]. In this case, fall back to building rocksdb with
|
|
# libc malloc. This should not cause conflicts, because all of the
|
|
# jemalloc symbols are prefixed.
|
|
#
|
|
# [1]: https://github.com/tikv/jemallocator/blob/ab0676d77e81268cd09b059260c75b38dbef2d51/jemalloc-sys/src/env.rs#L17
|
|
jemalloc = rust-jemalloc-sys-unprefixed;
|
|
inherit enableJemalloc;
|
|
}).overrideAttrs
|
|
({
|
|
version = "continuwuity-v0.5.0-unstable-2026-05-19";
|
|
src = fetchFromGitea {
|
|
domain = "forgejo.ellis.link";
|
|
owner = "continuwuation";
|
|
repo = "rocksdb";
|
|
rev = "463f47afceebfe088f6922420265546bd237f249";
|
|
hash = "sha256-1ef75IDMs5Hba4VWEyXPJb02JyShy5k4gJfzGDhopRk=";
|
|
};
|
|
|
|
# We have this already at https://forgejo.ellis.link/continuwuation/rocksdb/commit/a935c0273e1ba44eacf88ce3685a9b9831486155
|
|
# Unsetting `patches` so we don't have to revert it and make this nix exclusive
|
|
patches = [ ];
|
|
|
|
# Unset postPatch, as our version override breaks version-specific sed calls in the original package
|
|
postPatch = "";
|
|
})
|