|
|
|
@ -50,7 +50,8 @@ let |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
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" '' |
|
|
|
|
export PS1='${name}-chrootenv:\u@\h:\w\$ ' |
|
|
|
|