Commit d262d001 authored by Kenichi Kamiya's avatar Kenichi Kamiya Committed by Philip Taron
Browse files

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: a9b8ff8c

2.0.0: Replace a pkill call:
  https://github.com/lima-vm/lima/commit/75079f679b196d06904de2a63c5add3948706e2f
2.0.1: Adds graceful shutdown support:
  https://github.com/lima-vm/lima/commit/e769391e72d5bc0438b16fcf5cf622a85cb4bc42
parent 7c3f8fd5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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).
+0 −6
Original line number Diff line number Diff line
@@ -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,
+3 −3
Original line number Diff line number Diff line
@@ -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=";
}