doc: use writableTmpDirAsHomeHook
This commit is contained in:
@@ -646,8 +646,11 @@ It's important to use the `--offline` flag. For example if you script is `"build
|
||||
|
||||
```nix
|
||||
{
|
||||
nativeBuildInputs = [
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
export HOME=$(mktemp -d)
|
||||
yarn --offline build
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user