chromium: take llvmPackages from pkgsBuildTarget

`llvmPackages.clang` is used in the `gnFlags` attrset, so we need to
indicate explicitly which "on" platform (the build) and which "for"
platform (the host) we want.  This commit does that.
This commit is contained in:
Adam Joseph 2023-04-22 18:26:11 -07:00
parent 758bf4cb8a
commit c25897c1f3

View File

@ -16,10 +16,11 @@
, cupsSupport ? true
, pulseSupport ? config.pulseaudio or stdenv.isLinux
, commandLineArgs ? ""
, pkgsBuildTarget
}:
let
llvmPackages = llvmPackages_16;
llvmPackages = pkgsBuildTarget.llvmPackages_16;
stdenv = llvmPackages.stdenv;
upstream-info = (lib.importJSON ./upstream-info.json).${channel};