![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <chroot.hh>
Public Attributes | |
| std::filesystem::path | chrootParentDir |
| bool | useUidRange |
| bool | isSandboxed |
| UserLock * | buildUser |
| std::string | storeDir |
| std::function< void(const std::filesystem::path &)> | chownToBuilder |
Parameters for setting up a chroot environment.
| UserLock* nix::BuildChrootParams::buildUser |
Build user (may be null if not using a build user)
| std::function<void(const std::filesystem::path &)> nix::BuildChrootParams::chownToBuilder |
Callback to change ownership of a path to the build user
| std::filesystem::path nix::BuildChrootParams::chrootParentDir |
The directory where the chroot will be created
| bool nix::BuildChrootParams::isSandboxed |
Whether the derivation type is sandboxed
| std::string nix::BuildChrootParams::storeDir |
The store directory (e.g., "/nix/store")
| bool nix::BuildChrootParams::useUidRange |
Whether the derivation uses UID range feature