diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-05-30 22:00:52 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2010-05-30 22:00:52 +0000 |
commit | eb4c33eecabf30b9e5dd298e396d3046daa60001 (patch) | |
tree | e1f188391081f3ab367ead1f7f3106ddfcf3a5fd /modules/programs | |
parent | 540c673364ecef13bd0b810d8d7b0dde901bbf78 (diff) | |
download | nixpkgs-eb4c33eecabf30b9e5dd298e396d3046daa60001.tar nixpkgs-eb4c33eecabf30b9e5dd298e396d3046daa60001.tar.gz nixpkgs-eb4c33eecabf30b9e5dd298e396d3046daa60001.tar.bz2 nixpkgs-eb4c33eecabf30b9e5dd298e396d3046daa60001.tar.lz nixpkgs-eb4c33eecabf30b9e5dd298e396d3046daa60001.tar.xz nixpkgs-eb4c33eecabf30b9e5dd298e396d3046daa60001.tar.zst nixpkgs-eb4c33eecabf30b9e5dd298e396d3046daa60001.zip |
* Added an option to enable support for 32-bit binaries (such as Wine
or Google Earth) on 64-bit NixOS on NVIDIA hardware. The 32-bit OpenGL library is symlinked from /var/run/opengl-driver-32, which is added to the LD_LIBRARY_PATH so that 32-bit binaries can find it. svn path=/nixos/trunk/; revision=22062
Diffstat (limited to 'modules/programs')
-rw-r--r-- | modules/programs/bash/bashrc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/programs/bash/bashrc.sh b/modules/programs/bash/bashrc.sh index c4046870746..e43b716a0ce 100644 --- a/modules/programs/bash/bashrc.sh +++ b/modules/programs/bash/bashrc.sh @@ -3,7 +3,7 @@ if [ -n "$NOSYSBASHRC" ]; then fi # Initialise a bunch of environment variables. -export LD_LIBRARY_PATH=/var/run/opengl-driver/lib +export LD_LIBRARY_PATH=/var/run/opengl-driver/lib:/var/run/opengl-driver-32/lib # !!! only set if needed export MODULE_DIR=@modulesTree@/lib/modules export NIXPKGS_CONFIG=/nix/etc/config.nix export NIXPKGS_ALL=/etc/nixos/nixpkgs |