mirror of
https://github.com/shokinn/.files.git
synced 2025-01-18 21:22:25 +00:00
Add DYLD_FALLBACK_LIBRARY_PATH to zshrc to fix uvx not finding libraries in homebrews path
This commit is contained in:
parent
7bddf2ca2b
commit
fc1adae28f
|
@ -185,6 +185,10 @@ export PATH="${brew_path}:${PATH}"
|
||||||
# Include /opt/homebrew/opt/gnu-getopt/bin to PATH
|
# Include /opt/homebrew/opt/gnu-getopt/bin to PATH
|
||||||
[[ -d "/opt/homebrew/opt/gnu-getopt/bin" ]] && export PATH="/opt/homebrew/opt/gnu-getopt/bin:${PATH}"
|
[[ -d "/opt/homebrew/opt/gnu-getopt/bin" ]] && export PATH="/opt/homebrew/opt/gnu-getopt/bin:${PATH}"
|
||||||
|
|
||||||
|
# https://hynek.me/articles/macos-dyld-env/
|
||||||
|
# https://github.com/astral-sh/uv/issues/7764#issuecomment-2471059239
|
||||||
|
export DYLD_FALLBACK_LIBRARY_PATH="${HOMEBREW_PREFIX}/lib"
|
||||||
|
|
||||||
# Fix nix inbetween systemupdates
|
# Fix nix inbetween systemupdates
|
||||||
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
|
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
|
||||||
. '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
|
. '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
|
||||||
|
|
Loading…
Reference in a new issue