mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
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:
committed by
github-actions[bot]
parent
a614957619
commit
2701da8aee
@@ -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
|
||||
(
|
||||
''
|
||||
|
||||
Reference in New Issue
Block a user