steam: fix opengl inside pressure-vessel
This commit is contained in:
parent
4d6bee687b
commit
488056a418
2 changed files with 4 additions and 1 deletions
|
@ -88,6 +88,8 @@ let
|
||||||
/lib32
|
/lib32
|
||||||
/usr/lib/i386-linux-gnu
|
/usr/lib/i386-linux-gnu
|
||||||
/usr/lib32
|
/usr/lib32
|
||||||
|
/run/opengl-driver/lib
|
||||||
|
/run/opengl-driver-32/lib
|
||||||
EOF
|
EOF
|
||||||
ldconfig &> /dev/null
|
ldconfig &> /dev/null
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -50,7 +50,8 @@ let
|
||||||
];
|
];
|
||||||
|
|
||||||
ldconfig = writeShellScriptBin "ldconfig" ''
|
ldconfig = writeShellScriptBin "ldconfig" ''
|
||||||
exec ${pkgs.glibc.bin}/bin/ldconfig -f /etc/ld.so.conf -C /etc/ld.so.cache "$@"
|
# due to a glibc bug, 64-bit ldconfig complains about patchelf'd 32-bit libraries, so we're using 32-bit ldconfig
|
||||||
|
exec ${pkgsi686Linux.glibc.bin}/bin/ldconfig -f /etc/ld.so.conf -C /etc/ld.so.cache "$@"
|
||||||
'';
|
'';
|
||||||
etcProfile = writeText "profile" ''
|
etcProfile = writeText "profile" ''
|
||||||
export PS1='${name}-chrootenv:\u@\h:\w\$ '
|
export PS1='${name}-chrootenv:\u@\h:\w\$ '
|
||||||
|
|
Loading…
Reference in a new issue