From 82adf42b4a3634c905f9de32dcd9443393737d00 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 6 Jan 2024 15:36:43 +0100 Subject: docs(sys/nixpkgs/pkgs/ytc): Slightly improve error output --- sys/nixpkgs/pkgs/ytc/default.nix | 2 +- sys/nixpkgs/pkgs/ytc/src/downloader.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/nixpkgs/pkgs/ytc/default.nix b/sys/nixpkgs/pkgs/ytc/default.nix index fa06e1ba..d437b84a 100644 --- a/sys/nixpkgs/pkgs/ytc/default.nix +++ b/sys/nixpkgs/pkgs/ytc/default.nix @@ -8,7 +8,7 @@ makeWrapper rustPlatform # dependencies - + ytcc yt-dlp mpv diff --git a/sys/nixpkgs/pkgs/ytc/src/downloader.rs b/sys/nixpkgs/pkgs/ytc/src/downloader.rs index 9509278c..3b0c6670 100644 --- a/sys/nixpkgs/pkgs/ytc/src/downloader.rs +++ b/sys/nixpkgs/pkgs/ytc/src/downloader.rs @@ -130,7 +130,7 @@ fn download_url(url: &str) -> Result { "after_move:filepath", ]); yt_dlp.arg(output_file.path().as_os_str()); - let status = yt_dlp.status().context("Failed to run yt_dlp")?; + let status = yt_dlp.status().context("Failed to run yt-dlp")?; if let Some(code) = status.code() { if code != 0 { bail!("yt_dlp execution failed with error: '{}'", status); -- cgit 1.4.1