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.
This commit is contained in:
Ihar Hrachyshka
2026-05-28 18:56:28 -04:00
parent 4bfafef8b4
commit b4e72c5466
+5 -1
View File
@@ -18,6 +18,7 @@
jq,
gnugrep,
podman,
krunkit,
}:
let
@@ -124,7 +125,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
(
''