lima: 1.2.2 -> 2.0.1

Diff: https://github.com/lima-vm/lima/compare/v1.2.2...v2.0.1

Release: https://github.com/lima-vm/lima/releases/tag/v2.0.1

2.0.0 replaced a call to the external pkill command with an internal function.
This change conflicts with the current nixpkgs patch,
so we must remove the patch to prevent a build error.
Updates: a9b8ff8c8c

2.0.0: Replace a pkill call:
  75079f679b
2.0.1: Adds graceful shutdown support:
  e769391e72
This commit is contained in:
Kenichi Kamiya
2025-11-13 17:04:33 +09:00
committed by Philip Taron
parent 7c3f8fd556
commit d262d00199
3 changed files with 5 additions and 9 deletions

View File

@@ -72,6 +72,8 @@
- `forgejo` has been updated to major version 14. For more information, see the [release blog post](https://forgejo.org/2026-01-release-v14-0/) and [full release notes](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/14.0.0.md)
- `lima` has been updated from `1.x` to `2.x`. This major update includes several breaking changes, such as `/tmp/lima` no longer being mounted by default.
- `n8n` has been updated to version 2. You can find the breaking changes here: https://docs.n8n.io/2-0-breaking-changes/.
- `gurk-rs` has been updated from `0.6.4` to `0.8.0`. Version `0.8.0` includes breaking changes. For more information read the [release notes for 0.8.0](https://github.com/boxdot/gurk-rs/releases/tag/v0.8.0).

View File

@@ -4,7 +4,6 @@
buildGoModule,
callPackage,
installShellFiles,
procps,
qemu,
darwin,
makeWrapper,
@@ -41,11 +40,6 @@ buildGoModule (finalAttrs: {
substituteInPlace Makefile \
--replace-fail 'codesign -f -v --entitlements vz.entitlements -s -' 'codesign -f --entitlements vz.entitlements -s -' \
--replace-fail 'rm -rf _output vendor' 'rm -rf _output'
''
# fixed upstream, remove when version >=2.0.0
+ lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
substituteInPlace pkg/networks/usernet/recoincile.go \
--replace-fail '/usr/bin/pkill' '${lib.getExe' procps "pkill"}'
'';
# It attaches entitlements with codesign and strip removes those,

View File

@@ -3,7 +3,7 @@
}:
let
version = "1.2.2";
version = "2.0.1";
in
{
inherit version;
@@ -12,8 +12,8 @@ in
owner = "lima-vm";
repo = "lima";
tag = "v${version}";
hash = "sha256-bIYF/bsOMuWTkjD6fe6by220/WQGL+VWEBXmUzyXU98=";
hash = "sha256-GPrx4pvD6AxYIvAS+Mz8gFZ/Z7HeFFoHh3LOtAJ9bhI=";
};
vendorHash = "sha256-8S5tAL7GY7dxNdyC+WOrOZ+GfTKTSX84sG8WcSec2Os=";
vendorHash = "sha256-dA6zdrhN73Y8InlrCEdHgYwe5xbUlvKx0IMis2nWgWE=";
}