eta, today I learned: nixpkgs clears the default search path for for some reason (I guess to improve sandboxing), meaning that the linker won’t look in e.g.
/usr/lib
if it can’t find something any other way (it’ll just fail).this breaks doing things like running games on non-NixOS systems, since you need to get
libGL.so.1
from somewhere (and you can’t even setLD_LIBRARY_PATH=/usr/lib
, since then everything in there will take precedence over the rpath in the binary and screw things up even more).