From c79b03ca13978f8707fa5cfa830327b5bf0bd3e5 Mon Sep 17 00:00:00 2001 From: Devon Stewart Date: Tue, 17 Sep 2024 21:47:36 +0000 Subject: [PATCH] Exposing global "REPLIT_LD_LOADER" property to be picked up by replenv builder --- pkgs/modules/replit/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/modules/replit/default.nix b/pkgs/modules/replit/default.nix index 45e815ee..da32b2a6 100644 --- a/pkgs/modules/replit/default.nix +++ b/pkgs/modules/replit/default.nix @@ -34,10 +34,13 @@ in Replit tools. Includes .replit language server. ''; + replit.env = { + REPLIT_LD_AUDIT = "${pkgs.replit-rtld-loader}/rtld_loader.so"; + }; + replit.dev.languageServers.dotreplit-lsp = { name = ".replit LSP"; language = "dotreplit"; start = "${taplo}/bin/taplo lsp -c ${taplo-config} stdio"; }; } -