1
Fork 0

Fix ld path I guess idk sdFSJDKLFJ

This commit is contained in:
prescientmoon 2025-02-11 10:18:46 +01:00
parent 127df615e7
commit d29c214988
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
2 changed files with 4 additions and 3 deletions

View file

@ -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;

View file

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