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(()) }