diff --git a/pkgs/applications/video/mpv/scripts/mpv-webm.nix b/pkgs/applications/video/mpv/scripts/mpv-webm.nix index 2bf189511dcc..b155846750dc 100644 --- a/pkgs/applications/video/mpv/scripts/mpv-webm.nix +++ b/pkgs/applications/video/mpv/scripts/mpv-webm.nix @@ -2,6 +2,7 @@ , buildLua , fetchFromGitHub , luaPackages +, nix-update-script }: buildLua { @@ -19,6 +20,10 @@ buildLua { nativeBuildInputs = [ luaPackages.moonscript ]; scriptPath = "build/webm.lua"; + passthru.updateScript = nix-update-script { + extraArgs = [ "--version=branch" ]; + }; + meta = with lib; { description = "Simple WebM maker for mpv, with no external dependencies"; homepage = "https://github.com/ekisu/mpv-webm";