diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-28 15:51:19 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-28 15:51:19 +0200 |
commit | bc1f78fde9aa45a3d53a36bbfab11178f6f8f684 (patch) | |
tree | 5e24ec11860112f1f4e2c7dca33d82a2bf5b9b6b | |
parent | revert: "build(treewide): Update" (diff) | |
download | yt-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 '')
-rw-r--r-- | flake.nix | 5 | ||||
-rw-r--r-- | 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 = [ |