Hi, Marc Weber <[EMAIL PROTECTED]> writes:
> You are right, nix isn't totally pure. > Eg a lot of package do contain optimizations for different processors. > These settings are set to [autodetect] by the configure script at many > packages. Speaking of this, how does Nix ensure that `configure' scripts won't discover things (programs, libraries, C include files, etc.) outside the Nix store? It seems that `configure' may need to run inside a chroot where only `/nix/store/*' (and `/bin/sh') are visible. Actually, rather than `/nix/store/*', the chroot would need to have `~/.nix-profile' as `/', with symlinks followed. Plash [0] seems like a good tool to setup such restricted name spaces. Thanks, Ludovic. [0] http://plash.beasts.org/ _______________________________________________ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev