colima: add krunkit to PATH on aarch64-darwin (#496002)

This commit is contained in:
Sandro
2026-03-22 19:44:35 +00:00
committed by GitHub
+9 -5
View File
@@ -5,6 +5,7 @@
buildGoModule,
fetchFromGitHub,
installShellFiles,
krunkit,
lima-full,
makeWrapper,
procps,
@@ -60,11 +61,14 @@ buildGoModule (finalAttrs: {
postInstall = ''
wrapProgram $out/bin/colima \
--prefix PATH : ${
lib.makeBinPath [
# Suppress warning on `colima start`: https://github.com/abiosoft/colima/issues/1333
lima-full
qemu
]
lib.makeBinPath (
[
# Suppress warning on `colima start`: https://github.com/abiosoft/colima/issues/1333
lima-full
qemu
]
++ lib.optional (lib.meta.availableOn stdenv.hostPlatform krunkit) krunkit
)
}
installShellCompletion --cmd colima \