From d87708772e02726c8c25a43491457bd8306c4268 Mon Sep 17 00:00:00 2001 From: Patrick Cleavelin Date: Fri, 3 Mar 2023 01:02:45 -0600 Subject: [PATCH] pin ytdlp version --- flake.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 0159ca6..f85032a 100644 --- a/flake.nix +++ b/flake.nix @@ -12,6 +12,16 @@ pkgs = import nixpkgs { inherit system overlays; }; + yt-dlp = pkgs.yt-dlp.overrideAttrs (oldAttr: rec { + inherit (oldAttr) name; + version = "2023.02.17"; + src = pkgs.fetchFromGitHub { + owner = "yt-dlp"; + repo = "yt-dlp"; + rev = "${version}"; + sha256 = "naC74T6aqCLX45wJLmygsMmTMqdqLbfXLjJKIKMRpiI="; + }; + }); local-rust = (pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain).override { extensions = [ "rust-analysis" ]; }; @@ -28,7 +38,7 @@ ffmpeg cmake libopus - youtube-dl + yt-dlp ]; };