From d0607f5012795697f91a66a4d9c4d48a89de0e68 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Sat, 13 Sep 2025 21:00:08 +0200 Subject: [PATCH] tart: 2.28.1 -> 2.28.6 --- pkgs/by-name/ta/tart/package.nix | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/ta/tart/package.nix b/pkgs/by-name/ta/tart/package.nix index f8e4fa92ab32..357a77a53d82 100644 --- a/pkgs/by-name/ta/tart/package.nix +++ b/pkgs/by-name/ta/tart/package.nix @@ -9,14 +9,16 @@ # See https://github.com/cirruslabs/softnet#installing enableSoftnet ? false, softnet, + nix-update-script, + versionCheckHook, }: stdenvNoCC.mkDerivation (finalAttrs: { pname = "tart"; - version = "2.28.1"; + version = "2.28.6"; src = fetchurl { url = "https://github.com/cirruslabs/tart/releases/download/${finalAttrs.version}/tart.tar.gz"; - hash = "sha256-rV5hAJk46e9PAdEo8Qc6/17WqZ9aihj5+A1nLp3fJro="; + hash = "sha256-F6bYWVHtzXo6TH4CAvdF6qx7OCVvKACsh2KdRYFsxOw="; }; sourceRoot = "."; @@ -37,8 +39,14 @@ stdenvNoCC.mkDerivation (finalAttrs: { runHook postInstall ''; + nativeInstallCheckInputs = [ + versionCheckHook + ]; + doInstallCheck = true; + passthru.updateScript = nix-update-script { }; + meta = with lib; { - description = "macOS VMs on Apple Silicon to use in CI and other automations"; + description = "macOS and Linux VMs on Apple Silicon to use in CI and other automations"; homepage = "https://tart.run"; license = licenses.fairsource09; maintainers = with maintainers; [ @@ -46,10 +54,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { aduh95 ]; mainProgram = "tart"; - platforms = [ - "aarch64-darwin" - "x86_64-darwin" - ]; + platforms = platforms.darwin; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; }; })