-
Notifications
You must be signed in to change notification settings - Fork 79
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
chore: add native fdb library to path #2045
base: chore_add_timeout_flag_to_docker-compose_down
Are you sure you want to change the base?
chore: add native fdb library to path #2045
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
This PR enhances cross-platform library path handling in shell.nix, focusing on proper FoundationDB integration across Darwin and Linux systems.
- Added platform-specific library path variables (DYLD_LIBRARY_PATH for Darwin, LD_LIBRARY_PATH for Linux) in
/shell.nix
- Implemented conditional FoundationDB library path handling based on platform support
- Added fallback system library path (/usr/local/lib) when FoundationDB is not supported
1 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile
'' else '' | ||
# Manually check the FDB version | ||
if [ -z "$(command -v fdbcli)" ]; then | ||
echo "WARNING: FoundationDB CLI is not installed. Please install FoundationDB 7.1." | ||
elif ! fdbcli --version 2>/dev/null | grep -q "FoundationDB CLI 7.1"; then | ||
echo "WARNING: FoundationDB CLI version is incorrect. Please install FoundationDB 7.1." | ||
fi | ||
|
||
# Give access to system libraries | ||
export LIBRARY_PATH="/usr/local/lib:$LIBRARY_PATH" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style: Consider prepending to LIBRARY_PATH instead of appending to ensure system libraries don't override package libraries
Deploying rivet-hub with
|
Latest commit: |
030a024
|
Status: | ✅ Deploy successful! |
Preview URL: | https://5776a49f.rivet-hub-7jb.pages.dev |
Branch Preview URL: | https://graphite-base-2049.rivet-hub-7jb.pages.dev |
e832d02
to
8061121
Compare
ebd711a
to
c85f6e8
Compare
8061121
to
ef80531
Compare
c85f6e8
to
fdf864b
Compare
ef80531
to
030a024
Compare
030a024
to
ba236f2
Compare
60ffaa2
to
fdf864b
Compare
ba236f2
to
030a024
Compare
030a024
to
ba236f2
Compare
60ffaa2
to
fdf864b
Compare
ba236f2
to
030a024
Compare
030a024
to
ba236f2
Compare
Changes