nixpkgs/pkgs/build-support/build-fhs-userenv
Yegor Timoshenko 4b1cf5afb8
chrootenv: rewrite on top of GLib
Changes:

* doesn't handle root user separately
* doesn't chdir("/") which makes using it seamless
* only bind mounts, doesn't symlink (i.e. files)

Incidentally, fixes #33106.

It's about two times shorter than the previous version, and much
easier to read/follow through. It uses GLib quite heavily, along with
RAII (available in GCC/Clang).
2017-12-30 22:28:38 +00:00
..
chrootenv chrootenv: rewrite on top of GLib 2017-12-30 22:28:38 +00:00
default.nix chrootenv: rewrite on top of GLib 2017-12-30 22:28:38 +00:00
env.nix buildFHSEnv: fix NIX_* compiler flags 2017-10-17 00:39:39 +03:00