doc: add xfce4-dev-tools hook example (#547847)

This commit is contained in:
Ihar Hrachyshka
2026-10-11 00:50:28 +00:00
committed by GitHub

View File

@@ -1,5 +1,14 @@
# `xfce4-dev-tools` {#xfce4-dev-tools}
This setup hook attempts to run `xdt-autogen` in `xdtAutogenPhase`, which is part of `preConfigurePhases`.
This setup hook adds an `xdtAutogenPhase` that runs `xdt-autogen` before configure.
[]{#dontUseXdtAutogenPhase} This behavior can be disabled by setting `dontUseXdtAutogenPhase` to `true`.
Use this hook for Xfce packages that need `xdt-autogen` before configure.
Add `xfce4-dev-tools` to `nativeBuildInputs` to enable the phase.
```nix
{
nativeBuildInputs = [ xfce4-dev-tools ];
}
```
[]{#dontUseXdtAutogenPhase} Disable this behavior by setting `dontUseXdtAutogenPhase` to `true`.