about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-06-13 21:15:56 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-06-13 21:15:56 +0200
commitb8682b478a3a2322a370cc8eabf46d20d00e8c37 (patch)
tree04e0af045c81af9ba92714323629591133c990df
parentfix(yt/subscribe): Deal with moved url value (diff)
downloadyt-b8682b478a3a2322a370cc8eabf46d20d00e8c37.zip
build(flake): Adapt the dev env to yt_dlp's new dependencies
Diffstat (limited to '')
-rw-r--r--flake.nix11
1 files changed, 6 insertions, 5 deletions
diff --git a/flake.nix b/flake.nix
index 71e0b54..6ac41da 100644
--- a/flake.nix
+++ b/flake.nix
@@ -30,16 +30,15 @@
   }: (flake-utils.lib.eachDefaultSystem (system: let
     pkgs = nixpkgs.legacyPackages."${system}";
 
-    python = pkgs.python3.withPackages (ps: [
-      ps.yt-dlp
-    ]);
-
     buildInputs = with pkgs; [
       mpv-unwrapped.dev
+      libffi
+      openssl
     ];
 
     nativeBuildInputs = with pkgs; [
       llvmPackages_latest.clang-unwrapped.lib
+      pkg-config
 
       # Needed for the tests in `libmpv2`
       SDL2
@@ -101,7 +100,9 @@
         pkgs.sqlite-interactive
 
         # yt_dlp
-        python
+        pkgs.yt-dlp
+        pkgs.python3Packages.yt-dlp
+        pkgs.python3
         pkgs.jq
         pkgs.ffmpeg