aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSoispha Peetz <soispha@b-peetz.de>2026-11-28 21:26:49 +0100
committerSoispha Peetz <soispha@b-peetz.de>2026-11-28 21:26:49 +0100
commite2f163229417d7a57926de27db2269ffabe3e3b4 (patch)
tree4d67d214255c1fa42ffecd5745d51179de375066
parenttest(crates/yt/tests/subs/import_export): Ignore the auto-naming test (diff)
downloadyt-e2f163229417d7a57926de27db2269ffabe3e3b4.zip
build(flake.nix): Enable the `yt_dlp` package in the devShells python
-rw-r--r--flake.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix
index a36c009..356aede 100644
--- a/flake.nix
+++ b/flake.nix
@@ -36,6 +36,8 @@
tree-sitter-yts = pkgs.callPackage ./tree-sitter-yts/package.nix {};
treefmtEval = import ./treefmt.nix {inherit treefmt-nix pkgs;};
+
+ python = pkgs.python3.withPackages (ps: [ps.yt-dlp]);
in {
packages."${system}" = {
inherit yt tree-sitter-yts;
@@ -75,8 +77,7 @@
packages = [
# yt_dlp
- pkgs.python3Packages.yt-dlp
- pkgs.python3Packages.chardet
+ python
pkgs.jq
pkgs.ffmpeg
pkgs.deno