Commit 9aa0e679 authored by Ihar Hrachyshka's avatar Ihar Hrachyshka
Browse files

colima: use source build lima on darwin too

parent f406cd0c
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -6,14 +6,10 @@
  fetchFromGitHub,
  installShellFiles,
  lima,
  lima-bin,
  makeWrapper,
  qemu,
  testers,
  colima,
  # use lima-bin on darwin to support native macOS virtualization
  # https://github.com/NixOS/nixpkgs/pull/209171
  lima-drv ? if stdenv.hostPlatform.isDarwin then lima-bin else lima,
}:

buildGoModule rec {
@@ -55,7 +51,7 @@ buildGoModule rec {
    wrapProgram $out/bin/colima \
      --prefix PATH : ${
        lib.makeBinPath [
          lima-drv
          lima
          qemu
        ]
      }