From bc1f78fde9aa45a3d53a36bbfab11178f6f8f684 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 28 Jun 2025 15:51:19 +0200 Subject: 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. --- flake.nix | 5 +++-- nix/package.nix | 4 ++++ 2 files changed, 7 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 diff --git a/nix/package.nix b/nix/package.nix index f4d6eac..d25018a 100644 --- a/nix/package.nix +++ b/nix/package.nix @@ -18,6 +18,8 @@ ffmpeg, openssl, libffi, + zlib, + curl, # NativeBuildInputs makeWrapper, llvmPackages_latest, @@ -66,6 +68,8 @@ rustPlatform.buildRustPackage (finalAttrs: { ffmpeg openssl libffi + zlib + curl.dev ]; checkInputs = [ -- cgit 1.4.1