-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ffmpeg: uplift #354958
Draft
Atemu
wants to merge
11
commits into
NixOS:staging
Choose a base branch
from
Atemu:ffmpeg-uplift
base: staging
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
ffmpeg: uplift #354958
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/nix/store/m5ghr321rsxpfl001c5fdh56y9f42lpd-ffmpeg-headless-7.1-bin 233072648 /nix/store/rjimh83l9pdpmd7qvanvfhkwr13cmbz5-ffmpeg-headless-7.1-bin 234001624
/nix/store/rjimh83l9pdpmd7qvanvfhkwr13cmbz5-ffmpeg-headless-7.1-bin 234001624 /nix/store/pk5bgvay9yb1hl6pcda2fs9d33s7gws0-ffmpeg-headless-7.1-bin 234002056
/nix/store/pk5bgvay9yb1hl6pcda2fs9d33s7gws0-ffmpeg-headless-7.1-bin 234002056 /nix/store/4gmnzizak5ca1skhf9r9m2m0jcbik8ap-ffmpeg-headless-7.1-bin 236116824
/nix/store/4gmnzizak5ca1skhf9r9m2m0jcbik8ap-ffmpeg-headless-7.1-bin 236116824 /nix/store/nqardac1g5h774bprz145fsl4qm2p92l-ffmpeg-headless-7.1-bin 236173272
/nix/store/nqardac1g5h774bprz145fsl4qm2p92l-ffmpeg-headless-7.1-bin 236173272 /nix/store/a9a7n7w0dhcjay5vi41xy685m6md1hkw-ffmpeg-headless-7.1-bin 294694384 This may look like quite an increase but if you combine it with a noteworthy package such as pipewire, the increase is only ~5MiB: /nix/store/cs43xb7x8bqy0igaip0vrsgjij5aafc9-foo 657507664 /nix/store/xcgc1k9mn8f9fqns9832dnnlhnxm6dka-foo 661376384 With actual closures, I believe this would be even less.
/nix/store/a9a7n7w0dhcjay5vi41xy685m6md1hkw-ffmpeg-headless-7.1-bin 294694384 /nix/store/2wxab02vqydrmm19m4wiffz1ic3v7528-ffmpeg-headless-7.1-bin 295755456
/nix/store/2wxab02vqydrmm19m4wiffz1ic3v7528-ffmpeg-headless-7.1-bin 295755456 /nix/store/0km9wmmxs4aasna3jvx6ksigbi5qlas8-ffmpeg-headless-7.1-bin 296508848
/nix/store/0g381zbwph4i1xwr3r0jjgl3ld22ay9y-ffmpeg-7.1-bin 771250848 /nix/store/p9pnzdynjr2g6rxgrbinljsxanzc5vh5-ffmpeg-7.1-bin 795740304 With a bigger closure containing gtk4 which would be quite basic for any headed setup: nix-build --expr 'with import ./. { }; buildEnv { name = "foo"; paths = [ ffmpeg gtk4 ]; }' /nix/store/br81b18qsqa9pyd6xm03x1dh2h7mgs4r-foo 967359472 /nix/store/f34hzrcm58y1kzrkc1bkwrip79f2yrc6-foo 991848928 That's still the same kind of increase and it stems from shaderc and libdovi, both of which aren't used in typical desktop packages. The only users who would be unaffected by this closure size increase are those who already use libplacebo through the popular video player `mpv`.
To dependency avoid cycle
/nix/store/p9pnzdynjr2g6rxgrbinljsxanzc5vh5-ffmpeg-7.1-bin 795740304 /nix/store/h024lrwfsy1kk4snnws98wbkrd8qs559-ffmpeg-7.1-bin 795915280
/nix/store/h024lrwfsy1kk4snnws98wbkrd8qs559-ffmpeg-7.1-bin 795915280 /nix/store/b1az767mqkfck49kyk5i8l0nm2n5id4r-ffmpeg-7.1-bin 812639072 This is quite a large increase but nearly every desktop closure will already have librsvg in it. There's 50 references in mine.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Follow up to #354952 (ignore the commits of that PR in here) but a bit spicier and for the regular variant. See the commit messages.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.