ruffle-bin: init at 2025-01-13 (#285887) #373520
Draft
+92
−0
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.
Depends on #371012 and is a proof of concept draft for adding a binary ruffle package to nixpkgs. This fixes issue #285887 as it doesn't build deterministically as well as adding support for ruffle's about page[1, prebuilt is left, native comp is right]. It also allows for automatic updating with
nix-update-script --version=unstable
without burdening CI.A pre-built binary package also allows for easily pinning a version of ruffle without the burden of having to compile ruffle from source on the user's end which is very time/resource consuming as it is a complex Rust project.
I do not have access to a Darwin machine so I left the derivation for darwin as a stub. @jchv if you can fill that in that would be great. Anyone with a Linux machine can also help test (for example, on a X11 display server vs. wayland).
[1]
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.