From ba98ad17c02e62a6cda26f95389c5b6139e54234 Mon Sep 17 00:00:00 2001 From: DontEatOreo <57304299+DontEatOreo@users.noreply.github.com> Date: Sun, 2 Jun 2024 00:59:01 +0300 Subject: [PATCH] alt-tab-macos: refactor updateScript - Simplify the updateScript (cherry picked from commit 11967e5d840372f8d6828d0474c49b1732cc2af7) --- pkgs/by-name/al/alt-tab-macos/package.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/by-name/al/alt-tab-macos/package.nix b/pkgs/by-name/al/alt-tab-macos/package.nix index 3f252b16a069..0654ea53b897 100644 --- a/pkgs/by-name/al/alt-tab-macos/package.nix +++ b/pkgs/by-name/al/alt-tab-macos/package.nix @@ -2,7 +2,7 @@ lib, stdenvNoCC, fetchurl, - gitUpdater, + nix-update-script, unzip, }: @@ -28,10 +28,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { runHook postInstall ''; - passthru.updateScript = gitUpdater { - url = "https://github.com/lwouis/alt-tab-macos"; - rev-prefix = "v"; - }; + passthru.updateScript = nix-update-script { }; meta = { description = "Windows alt-tab on macOS";