lixPackageSets.*.lix: use buildPackages.python3 instead of python3.pythonOnBuildForHost

The former seems to exhibit fewer subtle issues breaking cross (in particular
static) builds, for reasons I have not yet understood.
This commit is contained in:
Alois Wohlschlager
2025-08-09 11:53:44 +02:00
parent 098e2ec4ec
commit cf6821c8f8
@@ -57,7 +57,7 @@ assert lib.assertMsg (
rustc,
toml11,
pegtl,
python3,
buildPackages,
pkg-config,
rapidcheck,
sqlite,
@@ -137,7 +137,7 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [
# python3.withPackages does not splice properly, see https://github.com/NixOS/nixpkgs/issues/305858
(python3.pythonOnBuildForHost.withPackages (
(buildPackages.python3.withPackages (
p:
[
p.python-frontmatter
@@ -154,7 +154,6 @@ stdenv.mkDerivation (finalAttrs: {
meson
ninja
cmake
python3
# Required for libstd++ assertions that leaks inside of the final binary.
removeReferencesTo