forked from Shinonome/alt-illogical-impulse
Fix NixOS Python environment: Add LD_LIBRARY_PATH to sessionVariables
- Add system libraries to LD_LIBRARY_PATH for Python virtual environment - Includes libstdc++, glibc, zlib, libffi, openssl, bzip2, xz, ncurses, readline, sqlite - Fixes 'libstdc++.so.6: cannot open shared object file' error in color generation - Ensures all child processes inherit proper library paths
This commit is contained in:
@@ -133,6 +133,8 @@ in
|
||||
ILLOGICAL_IMPULSE_VIRTUAL_ENV = "$HOME/.local/state/quickshell/.venv";
|
||||
# Ensure GNOME schemas are available for gsettings
|
||||
XDG_DATA_DIRS = "$XDG_DATA_DIRS:${pkgs.gsettings-desktop-schemas}/share";
|
||||
# Provide system libraries for Python packages in virtual environment
|
||||
LD_LIBRARY_PATH = "${pkgs.stdenv.cc.cc.lib}/lib:${pkgs.glibc}/lib:${pkgs.zlib}/lib:${pkgs.libffi}/lib:${pkgs.openssl}/lib:${pkgs.bzip2.out}/lib:${pkgs.xz.out}/lib:${pkgs.ncurses}/lib:${pkgs.readline}/lib:${pkgs.sqlite.out}/lib:$LD_LIBRARY_PATH";
|
||||
};
|
||||
|
||||
# Ensure ~/.local/bin is in PATH for user scripts
|
||||
|
||||
Reference in New Issue
Block a user