forked from M-Labs/nix-scripts
Document pure/impure mode
This commit is contained in:
parent
34404ddf6b
commit
c147ddee56
@ -18,3 +18,9 @@ nix-build build.nix
|
|||||||
ls -la ./result
|
ls -la ./result
|
||||||
```
|
```
|
||||||
Results in a symlink to the image in the nix store
|
Results in a symlink to the image in the nix store
|
||||||
|
|
||||||
|
|
||||||
|
# Impure/pure mode
|
||||||
|
Sometimes it can be useful to build the image _outside_ of the Nix sandbox for debugging purposes.
|
||||||
|
|
||||||
|
For this purpose we have an attribute called `impureMode` which outputs the shell script used by Nix inside the sandbox to build the image.
|
||||||
|
Loading…
Reference in New Issue
Block a user