linux-manual: fix build with Linux 7.3

The most recent bump to the linuxPackages_latest causes this package to fail, due to an introduction of `os.environ["srctree"]` without a fallback. `build-sphinx-wrapper` defines `srctree` with the default value `"."`, so lets set it before invoking the script.

(cherry picked from commit dc520b5ac4)
This commit is contained in:
Ali Rizvi
2026-10-25 16:10:32 -04:00
committed by github-actions[bot]
parent 6c76cbb0da
commit 4ff65754a2

View File

@@ -29,6 +29,8 @@ stdenv.mkDerivation {
# avoid Makefile because it checks for unnecessary Python dependencies
KBUILD_BUILD_TIMESTAMP="$(date -u -d "@$SOURCE_DATE_EPOCH")" \
# Expected by the script, default value is '.'
srctree="." \
tools/docs/sphinx-build-wrapper mandocs
runHook postBuild