mkosi-full: use the correct qemu package

This commit is contained in:
TomaSajt
2025-08-05 13:15:36 +02:00
parent a2667c8258
commit d1e617f37e
2 changed files with 8 additions and 15 deletions
+7 -14
View File
@@ -1,8 +1,8 @@
{
lib,
python3Packages,
fetchFromGitHub,
stdenv,
python,
systemd,
pandoc,
kmod,
@@ -16,13 +16,6 @@
replaceVars,
udevCheckHook,
# Python packages
setuptools,
setuptools-scm,
wheel,
buildPythonApplication,
pytestCheckHook,
# Optional dependencies
withQemu ? false,
qemu,
@@ -46,7 +39,7 @@ let
withKernelInstall = true;
};
pythonWithPefile = python.withPackages (ps: [ ps.pefile ]);
pythonWithPefile = python3Packages.python.withPackages (ps: [ ps.pefile ]);
deps = [
bash
@@ -63,7 +56,7 @@ let
qemu
];
in
buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
pname = "mkosi";
version = "25.3-unstable-2025-04-01";
format = "pyproject";
@@ -106,9 +99,9 @@ buildPythonApplication rec {
nativeBuildInputs = [
pandoc
setuptools
setuptools-scm
wheel
python3Packages.setuptools
python3Packages.setuptools-scm
python3Packages.wheel
udevCheckHook
];
@@ -119,7 +112,7 @@ buildPythonApplication rec {
'';
checkInputs = [
pytestCheckHook
python3Packages.pytestCheckHook
];
postInstall = ''
+1 -1
View File
@@ -1102,7 +1102,7 @@ with pkgs;
};
};
mkosi = python3Packages.callPackage ../tools/virtualization/mkosi { inherit systemd; };
mkosi = callPackage ../tools/virtualization/mkosi { };
mkosi-full = mkosi.override { withQemu = true; };