From 4ff65754a27dc4ac821ed9e1acd656d306c92be6 Mon Sep 17 00:00:00 2001 From: Ali Rizvi Date: Sun, 25 Oct 2026 16:10:32 -0400 Subject: [PATCH] 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 dc520b5ac4d4aeda81f56ef02d8b420675cea690) --- pkgs/by-name/li/linux-manual/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/li/linux-manual/package.nix b/pkgs/by-name/li/linux-manual/package.nix index d42d30fe531a..dc48ad7a1107 100644 --- a/pkgs/by-name/li/linux-manual/package.nix +++ b/pkgs/by-name/li/linux-manual/package.nix @@ -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