about summary refs log tree commit diff stats
path: root/flake.nix
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-06-28 15:51:19 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-06-28 15:51:19 +0200
commitbc1f78fde9aa45a3d53a36bbfab11178f6f8f684 (patch)
tree5e24ec11860112f1f4e2c7dca33d82a2bf5b9b6b /flake.nix
parentrevert: "build(treewide): Update" (diff)
downloadyt-bc1f78fde9aa45a3d53a36bbfab11178f6f8f684.zip
build({nix,flake}): Add missing buildInputs
`yt` builds fine without these, but their absence throws (normally
hidden) warnings in the build scripts of their respective sys crates.

I found that whilst debugging the update problem in the last commit, and
assume that without these inputs, the crate just defaults to a vendored
version.
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 c90fca4..770105e 100644
--- a/flake.nix
+++ b/flake.nix
@@ -33,6 +33,8 @@
       mpv-unwrapped.dev
       libffi
       openssl
+      zlib
+      curl.dev
     ];
 
     nativeBuildInputs = with pkgs; [
@@ -101,9 +103,8 @@
         pkgs.sqlite-interactive
 
         # yt_dlp
-        pkgs.yt-dlp
         pkgs.python3Packages.yt-dlp
-        pkgs.python3
+        pkgs.python3Packages.chardet
         pkgs.jq
         pkgs.ffmpeg