btrfs-progs: user build's python for man pages generation, not host's

Without the change build fails on attributes like
`pkgsCross.aarch64-multiplatform.btrfs-progs` as:

    sphinx-build: cannot execute binary file: Exec format error
This commit is contained in:
Sergei Trofimovich
2023-12-17 22:00:09 +00:00
parent 17eaac83fe
commit 94a71e6660
@@ -1,5 +1,6 @@
{ lib, stdenv, fetchurl
, pkg-config, python3
, buildPackages
, pkg-config
, zstd
, acl, attr, e2fsprogs, libuuid, lzo, udev, zlib
, runCommand, btrfs-progs
@@ -19,7 +20,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
pkg-config
] ++ [
(python3.withPackages (ps: with ps; [
(buildPackages.python3.withPackages (ps: with ps; [
sphinx
sphinx-rtd-theme
]))