aboutsummaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-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