From e67cceafda6d130a82c11bbaad09bd857352ded0 Mon Sep 17 00:00:00 2001 From: nicoo Date: Sun, 9 Mar 2025 16:59:00 +0000 Subject: [PATCH] mpvScripts.twitch-chat: refactor using buildLua's `runtime-dependencies` --- pkgs/applications/video/mpv/scripts/twitch-chat.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pkgs/applications/video/mpv/scripts/twitch-chat.nix b/pkgs/applications/video/mpv/scripts/twitch-chat.nix index 2bce83b95bcf..35f369cf54a2 100644 --- a/pkgs/applications/video/mpv/scripts/twitch-chat.nix +++ b/pkgs/applications/video/mpv/scripts/twitch-chat.nix @@ -22,12 +22,7 @@ buildLua (finalAttrs: { runHook postInstall ''; - passthru.extraWrapperArgs = [ - "--prefix" - "PATH" - ":" - (lib.makeBinPath [ curl ]) - ]; + runtime-dependencies = [ curl ]; passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ];