colima: add comment on why we use lima-bin on darwin

This commit is contained in:
Thibault Gagnaux 2023-01-29 17:15:06 +01:00
parent 75617407d2
commit e75161f4ba
No known key found for this signature in database
GPG key ID: 44BD0764ACAE8E25

View file

@ -11,6 +11,8 @@
, colima
}:
# use lima-bin on darwin to support native macOS virtualization
# https://github.com/NixOS/nixpkgs/pull/209171
let lima-drv = if stdenv.isDarwin then lima-bin else lima;
in
buildGoModule rec {