diff --git a/doc/doc-support/lib-function-docs.nix b/doc/doc-support/lib-function-docs.nix index 61671bd39059b..51b4601975c32 100644 --- a/doc/doc-support/lib-function-docs.nix +++ b/doc/doc-support/lib-function-docs.nix @@ -95,7 +95,7 @@ stdenvNoCC.mkDerivation { fileset = ../../lib; }; - buildInputs = [ + nativeBuildInputs = [ nixdoc nix ]; diff --git a/doc/tests/manpage-urls.nix b/doc/tests/manpage-urls.nix index 214c236160098..913aebe4ebe80 100644 --- a/doc/tests/manpage-urls.nix +++ b/doc/tests/manpage-urls.nix @@ -17,7 +17,7 @@ invalidateFetcherByDrvHash ( { nativeBuildInputs = [ cacert - (python3.withPackages (p: [ + (python3.pythonOnBuildForHost.withPackages (p: [ p.aiohttp p.rich p.structlog