lima: 1.0.3 -> 1.0.6

Release: https://github.com/lima-vm/lima/releases/tag/v1.0.6
Diff: https://github.com/lima-vm/lima/compare/v1.0.3...v1.0.6

This commit avoids tagged URLs in comments,
That would be incorrectly updated by the update script.
This commit is contained in:
Kenichi Kamiya
2025-02-17 01:43:15 +09:00
parent 9a4a0584d7
commit 3abb3bca5e
@@ -14,16 +14,16 @@
buildGoModule rec {
pname = "lima";
version = "1.0.3";
version = "1.0.6";
src = fetchFromGitHub {
owner = "lima-vm";
repo = "lima";
rev = "v${version}";
hash = "sha256-S0Mk7h4gH5syP/ayK5g1g8HG5f23sKCQCCbM6xOj+n0=";
hash = "sha256-3K2RC4cPoIuDePTOYzY+ejmBFZwgYDvCtoe/ZLX66sc=";
};
vendorHash = "sha256-1SHiz+lfG4nl1qavq/Fd73UV8LkErILk7d8XZJSbHd0=";
vendorHash = "sha256-tjogQUD+F/3ALlJwpdDKdXHRcYB+n0EuJ81TB1VKKDY=";
nativeBuildInputs = [
makeWrapper
@@ -71,7 +71,7 @@ buildGoModule rec {
'';
doInstallCheck = true;
# Workaround for: "panic: $HOME is not defined" at https://github.com/lima-vm/lima/blob/v1.0.3/pkg/limayaml/defaults.go#L52
# Workaround for: "panic: $HOME is not defined" at https://github.com/lima-vm/lima/blob/cb99e9f8d01ebb82d000c7912fcadcd87ec13ad5/pkg/limayaml/defaults.go#L53
# Don't use versionCheckHook for this package. It cannot inject environment variables.
installCheckPhase = ''
if [[ "$(HOME="$(mktemp -d)" "$out/bin/limactl" --version | cut -d ' ' -f 3)" == "${version}" ]]; then