sketchybar: add passthru.updateScript

This commit is contained in:
Austin Horstman 2024-03-26 21:06:55 -05:00
parent 2d96747851
commit a521764513
No known key found for this signature in database

View file

@ -11,6 +11,7 @@
, MediaRemote
, SkyLight
, testers
, nix-update-script
}:
let
@ -56,9 +57,13 @@ stdenv.mkDerivation (finalAttrs: {
runHook postInstall
'';
passthru.tests.version = testers.testVersion {
package = finalAttrs.finalPackage;
version = "sketchybar-v${finalAttrs.version}";
passthru = {
tests.version = testers.testVersion {
package = finalAttrs.finalPackage;
version = "sketchybar-v${finalAttrs.version}";
};
updateScript = nix-update-script { };
};
meta = {