Skip to content

handbrake: fix compile with ffmpeg 8.1.3 by dropping pgs patch - #576407

Merged
pbsds merged 1 commit into
NixOS:masterfrom
SolidEva:handbrake-ffmpeg-8.1.3-drop-pgs-patch
Oct 24, 2026
Merged

pbsds merged 1 commit into
NixOS:masterfrom
SolidEva:handbrake-ffmpeg-8.1.3-drop-pgs-patch

Conversation

@SolidEva

Copy link
Copy Markdown
Contributor

the patch doesnt apply cleanly on ffmpeg 8.1.3 (or ffmpeg 9) as part of the handbrake upgrade to ffmpeg 9, it was dropped HandBrake/HandBrake#8021

Things done

the patch doesnt apply cleanly on ffmpeg 8.1.3 (or ffmpeg 9)
as part of the handbrake upgrade to ffmpeg 9, it was dropped
HandBrake/HandBrake#8021
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. labels Oct 20, 2026
basnijholt added a commit to basnijholt/dotfiles that referenced this pull request Oct 20, 2026
Re-apply the flake input update held back in the previous commit
(nixpkgs 09063bd) and fix what it breaks on pc:

- patchelf 0.19.2 aborts in shiftFile while patching CUDA redists and
  writes segfaulting nvidia-smi/nvidia-powerd binaries. Pin CUDA redists
  (via _cuda.extensions) and the NVIDIA driver to patchelf 0.15.2, like
  NixOS/nixpkgs#575979; NixOS/nixpkgs#576397 is still open. Each pin
  disables itself with a warning once its upstream fix is in nixpkgs.
- Build CUDA kernels for sm_86 only (cudaCapabilities = [ "8.6" ]); the
  CUDA 12.9 -> 13.4 default bump otherwise compiles opencv and friends
  for ten architectures locally.
- llama-cpp b11756 already contains the patch nixpkgs backports, and its
  new test-llama-context-model pulls in the network-only
  test-download-model fixture, so drop the patch and disable the test.
- whisper-cpp now links llama-cpp's ggml; our llama-cpp drops
  GGML_BACKEND_DL so that link needs libcuda.so.1. Use the cached CPU
  whisper-cpp on stock llama-cpp (only ffmpeg-full uses it).
- Drop HandBrake's A15 pgssubdec ffmpeg patch, which no longer applies
  to ffmpeg 8.1.3 (NixOS/nixpkgs#576333, fix in NixOS/nixpkgs#576407).
Mistyttm added a commit to Mistyttm/nixos-configs that referenced this pull request Oct 22, 2026
Mistyttm added a commit to Mistyttm/nixos-configs that referenced this pull request Oct 22, 2026
@Mistyttm

Copy link
Copy Markdown
Contributor

✅ nixpkgs-review result

Generated using nixpkgs-review-gha (710407f)

Command: nixpkgs-review pr 576407
Commit: f6064193720a72fc1e37527ca0119b265486397d (subsequent changes)
Merge: 6459547b2b11ef94611f6d0dd71c53670540de1e

Logs: https://github.com/Mistyttm/nixpkgs-review-gha/actions/runs/39726937182/attempts/1


x86_64-linux

✅ 4 packages built:
  • handbrake
  • tdarr-server
  • tdarr-node
  • tdarr

aarch64-linux

✅ 4 packages built:
  • handbrake
  • tdarr-node
  • tdarr
  • tdarr-server

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Oct 22, 2026
@ToasterUwU

Copy link
Copy Markdown
Member

✅ nixpkgs-review result

Generated using nixpkgs-review-gha (710407f)

Command: nixpkgs-review pr 576407
Commit: f6064193720a72fc1e37527ca0119b265486397d (subsequent changes)
Merge: a0e5cb77fc7bea4200aef18051813570dd6b6161

Logs: https://github.com/ToasterUwU/nixpkgs-review-gha/actions/runs/40124173303/attempts/1


x86_64-linux

✅ 4 packages built:
  • handbrake
  • tdarr-node
  • tdarr
  • tdarr-server

aarch64-linux

✅ 4 packages built:
  • handbrake
  • tdarr-server
  • tdarr-node
  • tdarr

x86_64-darwin

✅ No rebuilds


aarch64-darwin

✅ No rebuilds

@ToasterUwU ToasterUwU left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved automatically following the successful run of nixpkgs-review.

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Oct 24, 2026
@pbsds
pbsds added this pull request to the merge queue Oct 24, 2026
Merged via the queue into NixOS:master with commit 24bf5b1 Oct 24, 2026
33 checks passed
@neilg neilg mentioned this pull request Oct 25, 2026
4 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants