From 63a3c65242cf04efc91921bfd21d0063e71f5afd Mon Sep 17 00:00:00 2001 From: azban Date: Sat, 28 Mar 2026 16:13:23 -0600 Subject: [PATCH 1/3] maintainers: add azban --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 79912e3c2ab9..3d3c841b965b 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -2807,6 +2807,12 @@ github = "azazak123"; githubId = 50211158; }; + azban = { + name = "azban"; + matrix = "azban@matrix.org"; + github = "azban"; + githubId = 714931; + }; azd325 = { email = "tim.kleinschmidt@gmail.com"; github = "Azd325"; From 53d7baf0009fe47fa6f4f197e0c2e1c129c0d3a3 Mon Sep 17 00:00:00 2001 From: azban Date: Sat, 28 Mar 2026 16:13:38 -0600 Subject: [PATCH 2/3] librice: init at 0.3.0 This package is needed as a dependency to enable experimental features for webkitgtk. --- pkgs/by-name/li/librice/package.nix | 60 +++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 pkgs/by-name/li/librice/package.nix diff --git a/pkgs/by-name/li/librice/package.nix b/pkgs/by-name/li/librice/package.nix new file mode 100644 index 000000000000..464ccad81ed0 --- /dev/null +++ b/pkgs/by-name/li/librice/package.nix @@ -0,0 +1,60 @@ +{ + stdenv, + lib, + fetchFromGitHub, + rustPlatform, + buildPackages, + cargo-c, + openssl, + pkg-config, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "librice"; + # Cannot bump to 0.4.0 because it breaks webkitgtk_4_1's enableExperimental build. + # /build/webkitgtk-2.52.1/Source/WebCore/platform/rice/GRefPtrRice.h:34:47: error: use of undeclared identifier 'rice_turn_config_ref'; did you mean 'rice_turn_config_free'? + # 34 | WTF_DEFINE_GREF_TRAITS_INLINE(RiceTurnConfig, rice_turn_config_ref, rice_turn_config_unref) + # | ^~~~~~~~~~~~~~~~~~~~ + # | rice_turn_config_free + # Unpin when https://gitlab.gnome.org/GNOME/gnome-build-meta/-/blob/gnome-50/elements/sdk/librice.bst moves to newer version. + version = "0.3.0"; + + src = fetchFromGitHub { + owner = "ystreet"; + repo = "librice"; + tag = "v${finalAttrs.version}"; + hash = "sha256-CM+YoeVdWfnT/RjkHP0ILwMOkFEylFaN83B71r+S5Ik="; + }; + + cargoHash = "sha256-GNqzAFAnOYP5tCE4qb9F9XAlinX1xV4QyBWJjqXb5VE="; + + nativeBuildInputs = [ + cargo-c + pkg-config + rustPlatform.bindgenHook + ]; + + buildInputs = [ + openssl + ]; + + postInstall = '' + for p in rice-proto rice-io; do + ${buildPackages.rust.envVars.setEnv} cargo cinstall -p ''${p} -j $NIX_BUILD_CORES --release \ + --frozen --prefix=${placeholder "out"} --target ${stdenv.hostPlatform.rust.rustcTarget} + done + ''; + + # All tests require network calls + doCheck = false; + + meta = { + description = "A (sans-IO) implementation of ICE (RFC8445) protocol written in Rust"; + homepage = "https://github.com/ystreet/librice"; + license = with lib.licenses; [ + asl20 + mit + ]; + maintainers = with lib.maintainers; [ azban ]; + }; +}) From 0f67464c3acd0b6129361c5d40c9b324ae2cd00f Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Sun, 29 Mar 2026 10:23:37 +0800 Subject: [PATCH 3/3] webkitgtk_6_0: Fix build with enableExperimental See Nixpkgs issue 504443. --- pkgs/development/libraries/webkitgtk/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/webkitgtk/default.nix b/pkgs/development/libraries/webkitgtk/default.nix index 5f7e98ae0ead..cb86057ce9a5 100644 --- a/pkgs/development/libraries/webkitgtk/default.nix +++ b/pkgs/development/libraries/webkitgtk/default.nix @@ -51,6 +51,7 @@ libintl, lcms2, libmanette, + librice, geoclue2, flite, fontconfig, @@ -197,6 +198,7 @@ clangStdenv.mkDerivation (finalAttrs: { ++ lib.optionals enableExperimental [ # For ENABLE_WEB_RTC openssl + librice # For ENABLE_WEBXR openxr-loader ]