diff options
author | nicoo <nicoo@mur.at> | 2023-12-09 19:21:41 +0000 |
---|---|---|
committer | nicoo <nicoo@mur.at> | 2023-12-12 18:59:20 +0000 |
commit | 0f604eff4ad93ba4351ad75839f8f9c92a3ac016 (patch) | |
tree | 7b2f6d18d355c696529d694c6029212564ad7e93 /pkgs/applications/video/mpv | |
parent | 2403dae1fa3125eba4bf3e8e770ae6c066cabb3c (diff) | |
download | nixlib-0f604eff4ad93ba4351ad75839f8f9c92a3ac016.tar nixlib-0f604eff4ad93ba4351ad75839f8f9c92a3ac016.tar.gz nixlib-0f604eff4ad93ba4351ad75839f8f9c92a3ac016.tar.bz2 nixlib-0f604eff4ad93ba4351ad75839f8f9c92a3ac016.tar.lz nixlib-0f604eff4ad93ba4351ad75839f8f9c92a3ac016.tar.xz nixlib-0f604eff4ad93ba4351ad75839f8f9c92a3ac016.tar.zst nixlib-0f604eff4ad93ba4351ad75839f8f9c92a3ac016.zip |
mpvScripts.mpv-webm: Fix `updateScript`
nix-update does not seem to work through helpers like `buildLua`.
Diffstat (limited to 'pkgs/applications/video/mpv')
-rw-r--r-- | pkgs/applications/video/mpv/scripts/mpv-webm.nix | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/pkgs/applications/video/mpv/scripts/mpv-webm.nix b/pkgs/applications/video/mpv/scripts/mpv-webm.nix index b155846750dc..5645d6a65f6b 100644 --- a/pkgs/applications/video/mpv/scripts/mpv-webm.nix +++ b/pkgs/applications/video/mpv/scripts/mpv-webm.nix @@ -2,7 +2,7 @@ , buildLua , fetchFromGitHub , luaPackages -, nix-update-script +, unstableGitUpdater }: buildLua { @@ -15,15 +15,12 @@ buildLua { rev = "6b5863f68275b3dc91c2507284c039ec8a4cbd97"; hash = "sha256-rJamBm6FyxWcJO7VXXOUTO9piWCkPfEVdqGKGeJ/h0c="; }; + passthru.updateScript = unstableGitUpdater {}; dontBuild = false; 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"; |