From d29c214988e84219a50b0d576e37294554c49d77 Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Tue, 11 Feb 2025 10:18:46 +0100 Subject: [PATCH] Fix ld path I guess idk sdFSJDKLFJ --- nix/shimmeringmoon.nix | 6 +++--- src/commands/discord.rs | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/nix/shimmeringmoon.nix b/nix/shimmeringmoon.nix index b12e5af..3a908cd 100644 --- a/nix/shimmeringmoon.nix +++ b/nix/shimmeringmoon.nix @@ -1,4 +1,5 @@ { + lib, pkg-config, makeWrapper, @@ -19,7 +20,7 @@ let rustc = rust-toolchain; }; in -rustPlatform.buildRustPackage { +rustPlatform.buildRustPackage rec { pname = "shimmeringmoon"; version = "unstable-2025-02-11"; src = ../.; @@ -40,8 +41,7 @@ rustPlatform.buildRustPackage { openssl ]; - # TODO: do I need to add this - # LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs; + LD_LIBRARY_PATH = lib.makeLibraryPath buildInputs; cargoLock = { lockFile = ../Cargo.lock; diff --git a/src/commands/discord.rs b/src/commands/discord.rs index 0bac687..38e0e6a 100644 --- a/src/commands/discord.rs +++ b/src/commands/discord.rs @@ -95,6 +95,7 @@ impl MessageContext for poise::Context<'_, UserContext, Error> { async fn send(&mut self, message: CreateReply) -> Result<(), Error> { poise::send_reply(*self, message).await?; + poise::say_repl Ok(()) }