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:
@@ -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
|
||||
(
|
||||
''
|
||||
|
||||
Reference in New Issue
Block a user