From fdb0b82f5c5501814edbb59acdfef478a9a66ab7 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Thu, 16 Nov 2023 10:24:43 +0100 Subject: [PATCH] mkosi: add importsCheck --- pkgs/tools/virtualization/mkosi/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/virtualization/mkosi/default.nix b/pkgs/tools/virtualization/mkosi/default.nix index 9e56a1b425af..38ffb1cd4838 100644 --- a/pkgs/tools/virtualization/mkosi/default.nix +++ b/pkgs/tools/virtualization/mkosi/default.nix @@ -108,6 +108,10 @@ buildPythonApplication rec { pytestCheckHook ]; + pythonImportsCheck = [ + "mkosi" + ]; + postInstall = '' mkdir -p $out/share/man/man1 mv mkosi/resources/mkosi.1 $out/share/man/man1/