doc: Fix missing pre/post hooks everywhere

This commit is contained in:
Niklas Hambüchen
2024-06-10 10:45:36 +02:00
parent 2795c506fe
commit ee6c2bd2eb
10 changed files with 51 additions and 4 deletions

View File

@@ -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
'';
}
```