nixpkgs/pkgs/applications/networking/browsers/chromium
networkException 940560cb24
ungoogled-chromium: 116.0.5845.140-1 -> 116.0.5845.179-1
https://chromereleases.googleblog.com/2023/09/stable-channel-update-for-desktop.html

This update includes 4 security fixes.

CVEs:
CVE-2023-4761 CVE-2023-4762 CVE-2023-4763 CVE-2023-4764
2023-09-09 00:40:27 +02:00
..
patches chromium: Fix the build 2022-09-02 23:34:18 +02:00
browser.nix Merge pull request #229265 from amjoseph-nixpkgs/pr/chromium/cross/all 2023-08-04 06:04:33 +03:00
common.nix chromium: 115.0.5790.170 -> 116.0.5845.96 2023-08-17 10:32:58 +02:00
cross-compile.patch chromium: cross compilation support 2023-07-05 03:32:16 -07:00
default.nix Merge pull request #229265 from amjoseph-nixpkgs/pr/chromium/cross/all 2023-08-04 06:04:33 +03:00
get-commit-message.py
README.md chromium,ungoogled-chromium: fix ofborg maintainer pings 2023-08-02 12:17:42 +02:00
ungoogled-flags.toml ungoogled-chromium: 111.0.5563.147 -> 112.0.5615.50 2023-04-06 17:09:25 +02:00
ungoogled.nix ungoogled-chromium: update repo links to ungoogled-software organisation 2023-04-21 21:36:36 +02:00
update.py chromedriver: fix update script 2023-08-04 17:13:41 +02:00
upstream-info.nix ungoogled-chromium: 116.0.5845.140-1 -> 116.0.5845.179-1 2023-09-09 00:40:27 +02:00

Maintainers

  • Note: We could always use more contributors, testers, etc. E.g.:
    • A dedicated maintainer for the NixOS stable channel
    • PRs with cleanups, improvements, fixes, etc. (but please try to make reviews as easy as possible)
    • People who handle stale issues/PRs
  • Primary maintainer (responsible for all updates): @primeos
  • Testers (test all stable channel updates)
    • nixos-unstable:
      • x86_64: @danielfullmer
      • aarch64: @thefloweringash
    • Stable channel:
      • x86_64: @Frostman
  • Other relevant packages:
    • chromiumBeta and chromiumDev: For testing purposes only (not build on Hydra). We use these channels for testing and to fix build errors in advance so that chromium updates are trivial and can be merged fast.
    • google-chrome, google-chrome-beta, google-chrome-dev: Updated via Chromium's upstream-info.nix
    • ungoogled-chromium: @squalus
    • chromedriver: Updated via Chromium's upstream-info.nix and not built from source.

Upstream links

Updating Chromium

Simply run ./pkgs/applications/networking/browsers/chromium/update.py to update upstream-info.nix. After updates it is important to test at least nixosTests.chromium (or basic manual testing) and google-chrome (which reuses upstream-info.nix).

Note: Due to the script downloading many large tarballs it might be necessary to adjust the available tmpfs size (it defaults to 10% of the systems memory)

services.logind.extraConfig = ''
  RuntimeDirectorySize=4G
'';

Note: The source tarball is often only available a few hours after the release was announced. The CI/CD status can be tracked here:

To run all automated NixOS VM tests for Chromium, ungoogled-chromium, and Google Chrome (not recommended, currently 6x tests!):

nix-build nixos/tests/chromium.nix

A single test can be selected, e.g. to test ungoogled-chromium (see channelMap in nixos/tests/chromium.nix for all available options):

nix-build nixos/tests/chromium.nix -A ungoogled

(Note: Testing Google Chrome requires export NIXPKGS_ALLOW_UNFREE=1.)

For custom builds it's possible to "override" channelMap.

Backports

All updates are considered security critical and should be ported to the stable channel ASAP. When there is a new stable release the old one should receive security updates for roughly one month. After that it is important to mark Chromium as insecure (see 69e4ae56c4b for an example; it is important that the tested job still succeeds and that all browsers that use upstream-info.nix are marked as insecure).

Major version updates

Unfortunately, Chromium regularly breaks on major updates and might need various patches. Either due to issues with the Nix build sandbox (e.g. we cannot fetch dependencies via the network and do not use standard FHS paths) or due to missing upstream fixes that need to be backported.

Good sources for such patches and other hints:

If the build fails immediately due to unknown compiler flags this usually means that a new major release of LLVM is required.

Beta and Dev channels

Those channels are only used to test and fix builds in advance. They may be broken at times and must not delay stable channel updates.

Testing

Useful tests: