about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-01-06 15:36:43 +0100
committerSoispha <soispha@vhack.eu>2024-01-06 15:36:43 +0100
commit82adf42b4a3634c905f9de32dcd9443393737d00 (patch)
tree180e19931de11a0c2d5fb208c77e3931850a14bc
parentfeat(flake): Add `rustfmt` to the dev environment (diff)
downloadnixos-config-82adf42b4a3634c905f9de32dcd9443393737d00.tar.gz
nixos-config-82adf42b4a3634c905f9de32dcd9443393737d00.zip
docs(sys/nixpkgs/pkgs/ytc): Slightly improve error output
-rw-r--r--sys/nixpkgs/pkgs/ytc/default.nix2
-rw-r--r--sys/nixpkgs/pkgs/ytc/src/downloader.rs2
2 files changed, 2 insertions, 2 deletions
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<PathBuf> {
         "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);