Skip to content

Trying to figure out why the dreamluau source build isn't working #141

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

timeout 60 strace -p $1
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ git checkout "$DREAMLUAU_VERSION" >/dev/null
echo "dreamluau: building"
env LIBCLANG_PATH="$(find /nix/store -name *-clang-*-lib)/lib" cargo build --ignore-rust-version --release --target=i686-unknown-linux-gnu
cp target/i686-unknown-linux-gnu/release/libdreamluau.so "$1/libdreamluau.so"

# EMERGENCY FIX, SOMETHING IS WRONG WITH THE ABOVE
cp "${TGS_INSTANCE_ROOT}/Configuration/EventScripts.old/libdreamluau.so" "$1/libdreamluau.so"

cd "$work_directory"
echo "dreamluau: deployment finish"

Expand Down
6 changes: 6 additions & 0 deletions systems/game-servers/modules/tgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
# `<instance>/Configuration/EventScripts` is symlinked to these directories
environment.etc = {
#TG
"tgs-EventScripts.d/tg/DreamDaemonLaunch.sh" = {
text = (builtins.readFile ./EventScripts/tg/DreamDaemonLaunch.sh);
group = "tgstation-server";
mode = "0755";
};
"tgs-EventScripts.d/tg/DreamDaemonPreLaunch.sh" = {
text = (builtins.readFile ./EventScripts/tg/DreamDaemonPreLaunch.sh);
group = "tgstation-server";
Expand Down Expand Up @@ -136,6 +141,7 @@
rclone
yt-dlp # For Internet Sounds
lua # Lua Support
strace
]
);
};
Expand Down
Loading