about summary refs log tree commit diff
path: root/users/Profpatsch
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2024-03-03T12·56+0100
committerclbot <clbot@tvl.fyi>2024-03-03T13·30+0000
commitde5790aba84fafaea11fdd88c9a664d29bb6d191 (patch)
tree85ec835761ada964b17299ffe7dc3d37dd13b7d0 /users/Profpatsch
parent7c2bdf84b971d83767aface101504a95a6cc6738 (diff)
feat(users/Profpatsch/ytextr): allow extra arguments r/7638
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>
Diffstat (limited to 'users/Profpatsch')
-rw-r--r--users/Profpatsch/ytextr/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/users/Profpatsch/ytextr/default.nix b/users/Profpatsch/ytextr/default.nix
index ac630603b90c..3f3f073113f0 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"
+    "$@"
   ];
 }