From 319cc6ca3534ee6956bae42be85d7518f278cd02 Mon Sep 17 00:00:00 2001 From: Michael Weiss Date: Sun, 5 Mar 2023 21:14:13 +0100 Subject: [PATCH] chromium{Beta,Dev}: Switch to LLVM 15 Not required yet but we should always use the latest LLVM version that is available in Nixpkgs as Google builds Chromium against commits from the main branch. --- pkgs/applications/networking/browsers/chromium/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/browsers/chromium/default.nix b/pkgs/applications/networking/browsers/chromium/default.nix index 2179722a6e87..0152a7ed0926 100644 --- a/pkgs/applications/networking/browsers/chromium/default.nix +++ b/pkgs/applications/networking/browsers/chromium/default.nix @@ -1,5 +1,7 @@ { newScope, config, stdenv, fetchurl, makeWrapper -, llvmPackages_14, ed, gnugrep, coreutils, xdg-utils +, llvmPackages_14 +, llvmPackages_15 +, ed, gnugrep, coreutils, xdg-utils , glib, gtk3, gtk4, gnome, gsettings-desktop-schemas, gn, fetchgit , libva, pipewire, wayland , gcc, nspr, nss, runCommand @@ -52,6 +54,9 @@ let inherit (upstream-info.deps.gn) url rev sha256; }; }); + } // lib.optionalAttrs (chromiumVersionAtLeast "111") rec { + llvmPackages = llvmPackages_15; + stdenv = llvmPackages_15.stdenv; }); browser = callPackage ./browser.nix {