mkosi: cleanup wrapping

This commit is contained in:
Paul Meyer 2023-11-15 19:58:15 +01:00
parent 796b4926bb
commit 28a41e21cb

View File

@ -89,10 +89,6 @@ buildPythonApplication rec {
wheel
];
makeWrapperArgs = [
"--set MKOSI_INTERPRETER ${python3pefile}/bin/python3"
];
propagatedBuildInputs = [
systemdForMkosi
bubblewrap
@ -100,15 +96,15 @@ buildPythonApplication rec {
qemu
];
postInstall = ''
wrapProgram $out/bin/mkosi \
--prefix PYTHONPATH : "$PYTHONPATH"
'';
checkInputs = [
pytestCheckHook
];
makeWrapperArgs = [
"--set MKOSI_INTERPRETER ${python3pefile}/bin/python3"
"--prefix PYTHONPATH : \"$PYTHONPATH\""
];
meta = with lib; {
description = "Build legacy-free OS images";
homepage = "https://github.com/systemd/mkosi";