···45In Nixpkgs, `zig.hook` overrides the default build, check and install phases.
67-## Example code snippet {#example-code-snippet}
89```nix
10{ lib
···27}
28```
2930-## Variables controlling zig.hook {#variables-controlling-zig-hook}
3132-### `zig.hook` Exclusive Variables {#zigHookExclusiveVariables}
3334The variables below are exclusive to `zig.hook`.
3536-#### `dontUseZigBuild` {#dontUseZigBuild}
3738Disables using `zigBuildPhase`.
3940-#### `dontUseZigCheck` {#dontUseZigCheck}
4142Disables using `zigCheckPhase`.
4344-#### `dontUseZigInstall` {#dontUseZigInstall}
4546Disables using `zigInstallPhase`.
4748-### Similar variables {#similarVariables}
4950The following variables are similar to their `stdenv.mkDerivation` counterparts.
51···55| `zigCheckFlags` | `checkFlags` |
56| `zigInstallFlags` | `installFlags` |
5758-### Variables honored by zig.hook {#variables-honored-by-zig-hook}
5960The following variables commonly used by `stdenv.mkDerivation` are honored by `zig.hook`.
61
···45In Nixpkgs, `zig.hook` overrides the default build, check and install phases.
67+## Example code snippet {#zig-hook-example-code-snippet}
89```nix
10{ lib
···27}
28```
2930+## Variables controlling zig.hook {#zig-hook-variables-controlling}
3132+### `zig.hook` Exclusive Variables {#zig-hook-exclusive-variables}
3334The variables below are exclusive to `zig.hook`.
3536+#### `dontUseZigBuild` {#dont-use-zig-build}
3738Disables using `zigBuildPhase`.
3940+#### `dontUseZigCheck` {#dont-use-zig-check}
4142Disables using `zigCheckPhase`.
4344+#### `dontUseZigInstall` {#dont-use-zig-install}
4546Disables using `zigInstallPhase`.
4748+### Similar variables {#zig-hook-similar-variables}
4950The following variables are similar to their `stdenv.mkDerivation` counterparts.
51···55| `zigCheckFlags` | `checkFlags` |
56| `zigInstallFlags` | `installFlags` |
5758+### Variables honored by zig.hook {#zig-hook-variables-honored}
5960The following variables commonly used by `stdenv.mkDerivation` are honored by `zig.hook`.
61