mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05: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:
parent
a614957619
commit
2701da8aee
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
(
|
||||
''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue