colima: make lima derivation configurable
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
This commit is contained in:
parent
e75161f4ba
commit
06a3791603
|
@ -9,12 +9,11 @@
|
|||
, qemu
|
||||
, testers
|
||||
, colima
|
||||
# use lima-bin on darwin to support native macOS virtualization
|
||||
# https://github.com/NixOS/nixpkgs/pull/209171
|
||||
, lima-drv ? if stdenv.isDarwin then lima-bin else lima
|
||||
}:
|
||||
|
||||
# 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 {
|
||||
pname = "colima";
|
||||
version = "0.5.2";
|
||||
|
|
Loading…
Reference in a new issue