chore: use upstream rust-jemalloc-sys-unprefixed after flake.lock update

This commit is contained in:
aviac 2025-10-22 11:08:01 +02:00 committed by Jade Ellis
parent 9a887ac04b
commit ec3564e8aa
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2
6 changed files with 30 additions and 60 deletions

View file

@ -1,7 +1,6 @@
{
imports = [
./continuwuity
./jemalloc.nix
./rocksdb
./rust.nix
./uwulib

View file

@ -1,26 +0,0 @@
{
perSystem =
{
pkgs,
...
}:
{
# we disable some unused features here. The code won't compile without these
#
# > <jemalloc>: Invalid conf pair: prof_active:false
# > error: test failed, to rerun pass `-p conduwuit --lib`
# >
# > Caused by:
# > process didn't exit successfully: `/build/source/target/release/deps/conduwuit-67fbd204f38e8c35` (signal: 11, SIGSEGV: invalid memory reference)
packages.rust-jemalloc-sys-unprefixed' = pkgs.rust-jemalloc-sys-unprefixed.overrideAttrs (old: {
configureFlags =
old.configureFlags
++
# we dont need docs
[ "--disable-doc" ]
++
# we dont need cxx/C++ integration
[ "--disable-cxx" ];
});
};
}

View file

@ -1,15 +1,12 @@
{
perSystem =
{
self',
pkgs,
...
}:
{
packages = {
rocksdb = pkgs.callPackage ./package.nix {
rust-jemalloc-sys-unprefixed = self'.packages.rust-jemalloc-sys-unprefixed';
};
rocksdb = pkgs.callPackage ./package.nix { };
};
};
}