Unverified Commit a24eb470 authored by Colin's avatar Colin Committed by GitHub
Browse files

qemu: Fix Python deps, the third time (#436516)

parents 7f6c162b 537f408a
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -169,8 +169,12 @@ stdenv.mkDerivation (finalAttrs: {
    ninja
    perl

    # Don't change this to python3 and python3.pkgs.*, breaks cross-compilation
    (python3Packages.python.withPackages (ps: with ps; [ distlib ]))
    # For python changes other than simple package additions, ping @dramforever for review.
    # Don't change `python3Packages` to `python3.pkgs.*`, breaks cross-compilation.
    python3Packages.distlib
    # Hooks from the python package are needed to add `$pythonPath` so
    # `python/scripts/mkvenv.py` can detect `meson` otherwise the vendored meson without patches will be used.
    python3Packages.python
  ]
  ++ lib.optionals gtkSupport [ wrapGAppsHook3 ]
  ++ lib.optionals enableDocs [