about summary refs log tree commit diff
path: root/users/Profpatsch/ytextr/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'users/Profpatsch/ytextr/default.nix')
-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"
+    "$@"
   ];
 }