>> Another way would be to hook the path handling procedures of the libc. >> Rewrite "/nix/store" to whatever is in the NIX_STORE variable. This >> would be a lot of hard work, but would work much more reliably than >> rewriting paths in binaries, and it would work without help from root. > >Hmm, globally LD_PRELOADing a file that would do this might be a viable >option for those people. No new binaries would be necessary, only fixing >this in *all* path-handling glibc functions is likely to be tricky.
I think it is called fakechroot¿ There is also fakechrootng, which is slow. _______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev