about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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