0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

postgres-lsp: use system jemalloc (#412403)

This commit is contained in:
Wolfgang Walther 2025-05-31 07:41:58 +00:00 committed by GitHub
commit cb19c37400
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,6 +2,7 @@
lib,
rustPlatform,
fetchFromGitHub,
rust-jemalloc-sys,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "postgres-lsp";
@ -22,6 +23,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
rustPlatform.bindgenHook
];
buildInputs = [
rust-jemalloc-sys
];
env = {
SQLX_OFFLINE = 1;