doc: Fix missing pre/post hooks everywhere
This commit is contained in:
@@ -690,7 +690,11 @@ The configure phase can sometimes fail because it makes many assumptions which m
|
||||
```nix
|
||||
{
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
ln -s $node_modules node_modules
|
||||
|
||||
runHook postConfigure
|
||||
'';
|
||||
}
|
||||
```
|
||||
@@ -700,8 +704,12 @@ or if you need a writeable node_modules directory:
|
||||
```nix
|
||||
{
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
cp -r $node_modules node_modules
|
||||
chmod +w node_modules
|
||||
|
||||
runHook postConfigure
|
||||
'';
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user