colima: make lima derivation configurable
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user