From fca799770554eb042c190747a592a603f9ef5229 Mon Sep 17 00:00:00 2001 From: Cathal Mullan Date: Fri, 30 May 2025 17:18:04 +0100 Subject: [PATCH] postgres-lsp: Use system jemalloc --- pkgs/by-name/po/postgres-lsp/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/po/postgres-lsp/package.nix b/pkgs/by-name/po/postgres-lsp/package.nix index dd2238068a49..c77dd63978c3 100644 --- a/pkgs/by-name/po/postgres-lsp/package.nix +++ b/pkgs/by-name/po/postgres-lsp/package.nix @@ -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;