only link to one jemalloc build

Without setting JEMALLOC_OVERRIDE, we end up linking to two different
jemalloc builds. Once dynamically, as a transitive dependency through
rocksdb, and a second time to the static jemalloc that tikv-jemalloc-sys
builds.

This fixes dynamically-linked jemalloc builds, for the reasons described
in <https://github.com/girlbossceo/conduwuit/pull/400#issue-2316700200>.
This commit is contained in:
Benjamin Lee 2024-05-23 13:32:43 -07:00
parent b6fc9b0feb
commit ee43c2ff4c
No known key found for this signature in database
GPG key ID: FB9624E2885D55A4
2 changed files with 22 additions and 2 deletions

View file

@ -30,5 +30,9 @@ mkShell {
toolchain
]
++
default.nativeBuildInputs;
default.nativeBuildInputs
++
default.propagatedBuildInputs
++
default.buildInputs;
}