podman-desktop: add krunkit to closure on darwin

When starting podman machine from UI, it fails because podman-desktop
directly calls to krunkit to determine some configuration if the machine
is of krunkit type.

(cherry picked from commit b4e72c5466)
This commit is contained in:
Ihar Hrachyshka 2026-05-28 18:28:27 -04:00 committed by github-actions[bot]
commit 2701da8aee

View file

@ -16,6 +16,7 @@
jq,
gnugrep,
podman,
krunkit,
}:
let
@ -120,7 +121,10 @@ stdenv.mkDerivation (finalAttrs: {
installPhase =
let
commonWrapperArgs = "--prefix PATH : ${lib.makeBinPath [ podman ]}";
prefixPackages = lib.makeBinPath (
[ podman ] ++ lib.optional (lib.meta.availableOn stdenv.hostPlatform krunkit) krunkit
);
commonWrapperArgs = "--prefix PATH : ${prefixPackages}";
in
(
''