From de5790aba84fafaea11fdd88c9a664d29bb6d191 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Sun, 3 Mar 2024 13:56:18 +0100 Subject: feat(users/Profpatsch/ytextr): allow extra arguments Change-Id: Icf246cfb31592afa0a8ada3e0e897f78202d44e2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11088 Autosubmit: Profpatsch Tested-by: BuildkiteCI Reviewed-by: Profpatsch --- users/Profpatsch/ytextr/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'users') diff --git a/users/Profpatsch/ytextr/default.nix b/users/Profpatsch/ytextr/default.nix index ac630603b9..3f3f073113 100644 --- a/users/Profpatsch/ytextr/default.nix +++ b/users/Profpatsch/ytextr/default.nix @@ -54,7 +54,7 @@ in nix-run-with-channel { channel = "nixos-unstable"; packageNamesAtRuntime = [ "yt-dlp" ]; - executable = depot.nix.writeExecline "ytextr" { readNArgs = 1; } [ + executable = depot.nix.writeExecline "ytextr" { } [ "getcwd" "-E" "cwd" @@ -77,6 +77,6 @@ nix-run-with-channel { "mkv" "-f" "bestvideo[height<=?1080]+bestaudio/best" - "$1" + "$@" ]; } -- cgit 1.4.1