Repository navigation
webkitgtk: add support for experimental features - #280554
SuperSandro2000 merged 1 commit into
Conversation
I think it would be cool, if we could avoid the extra webkitgtk build if we could clarify how this would affect applications that do not use it. |
I agree that it would be nice if we could just set experimental features to default to on. |
Would be nice to see some docs/research on the actual impact. |
|
I've tried to research that but only really could find this https://trac.webkit.org/changeset/208495/webkit |
|
Hmm, looks like those include Web APIs (e.g. CSS features) so we should really not enable them by default. For example, a website could have been using CSS grid, a feature that would have been previously ignored. Because it had been unstable at the time, I can imagine enabling it could have broken such website’s layout, or even crashed Epiphany and other webkitgtk based browsers. |
So the pr in it current state should be good, since experimental is not enabled by with this, right? |
amaxine
left a comment
There was a problem hiding this comment.
As is this still triggers a pointless rebuild, and if this override is enabled for any packages directly in nixpkgs that's an immediate +1 on the already painful number of rebuilds whenever webkitgtk has updates.
But I'd agree that in its current state, where this is not enabled by default for any packages and just provides a trivial way of overriding this for your own use, it seems fine.
|
Would love to have webrtc working in Dorion 👍 |
|
I'm currently using a flake similar to this to enable WebRTC for Tauri v2 (via |
SuperSandro2000
left a comment
There was a problem hiding this comment.
I just decided power of my watered soup, that this is good to go
|
I've build webkitgtk_6_0, webkitgtk, webkitgtk_4_1 and webkitgtk.overrideAttrs { enableExperimental = true; } locally after a rebase and things work as expected. |
Description of changes
Some webkitgtk consumers (e.g. Tauri apps) can benefit from and use WebRTC, but we do not make the necessary experimental features available currently. This provides an off-by-default boolean switch to allow enabling them for downstream packages
If the maintainers would like, we could flip this to on-by-default, since I do not believe they necessarily cause problems in applications that do not use them. But I will leave it up to you and will adjust the PR accordingly if that is requested
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-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.