Do something intelligent with $out
It seems $out
finds its way into the rpath settings Nix exports (I guess this makes sense as program would want its own libraries in its rpath). We aren't actually building something for the store though so it would be nice if this wasn't there.
The issues are as follows
- shouldn't be pointed somewhere like /tmp (as we currently do) because adding a /tmp directory to the rpath is a security vulnerability, but
- can't be unset this as it causes
$stdenv/setup
to explode in a very strange way.