mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 11:23:29 +00:00
alt-tab-macos: refactor updateScript
- Simplify the updateScript
(cherry picked from commit 11967e5d84
)
This commit is contained in:
parent
0ae35a1396
commit
ba98ad17c0
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user