Sandboxing

Isolating the Nix build process from everything else on your system

Concepts / Sandboxing

Whenever Nix builds anything, it sandboxes that process from everything else on the host system. Nix builds are sandboxed for a variety of reasons:

  1. The ensure reproducibility. Sandboxing ensures that no system state on the host machine affects the build outcomes.
  2. To maintain strict provenance.

Was this page helpful?