feat(users/Profpatsch/ytextr): allow extra arguments

Change-Id: Icf246cfb31592afa0a8ada3e0e897f78202d44e2
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11088
Autosubmit: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
Reviewed-by: Profpatsch <mail@profpatsch.de>
This commit is contained in:
Profpatsch 2024-03-03 13:56:18 +01:00 committed by clbot
parent 7c2bdf84b9
commit de5790aba8

View file

@ -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"
"$@"
];
}